public final class Key extends Object
| Constructor and Description |
|---|
Key(RoleConstant roleConstant,
String keyName,
AttributeConstant... attributes)
Construct a new Key with the specified name and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AttributeConstant[] |
getAttributes()
Get the attributes of this key.
|
String |
getKeyName()
The name of the key.
|
RoleConstant |
getRoleConstant()
Get the role this key belongs to.
|
int |
hashCode() |
String |
toString() |
public Key(RoleConstant roleConstant, String keyName, AttributeConstant... attributes)
roleConstant - the role constant.keyName - the name of the key.attributes - an array of attributes.public final String getKeyName()
public RoleConstant getRoleConstant()
public final AttributeConstant[] getAttributes()
Copyright © 2006–2017 Esito AS. All rights reserved.