| Package | Description |
|---|---|
| no.g9.os |
| Modifier and Type | Method and Description |
|---|---|
AttributeConstant |
OSRole.getAttributeConstant(String attributeName)
Get the attribute constant that matches the specified attribute name.
|
AttributeConstant[] |
OSRole.getAttributeConstants()
Returns an array of the attribute constants for this object selection
node
|
AttributeConstant[] |
Key.getAttributes()
Get the attributes of this key.
|
| Modifier and Type | Method and Description |
|---|---|
Map<AttributeConstant,Object> |
AbstractOSRole.getAttributeValues(Object domainInstance) |
Map<AttributeConstant,Object> |
OSRole.getAttributeValues(Object domainInstance)
Gets a map of attribute values from the domain object.
|
Map<AttributeConstant,Object> |
AbstractOSRole.getValues(Object instance,
AttributeConstant[] attributes)
Returns a map of attributes values.
|
Map<AttributeConstant,Object> |
OSRole.getValues(Object instance,
AttributeConstant[] attributes)
Returns a map of attributes values.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
KeyTool.attributesDefined(Object instance,
OSRole<?> role,
AttributeConstant[] attributes)
Check if the specified instance contains defined values for all the
attributes specified attribute array (see various
isDefined
methods). |
protected Object |
AbstractOSRole.getRelatedValue(Object domainObject,
AttributeConstant attribute)
Get an attribute value from a related role.
|
Object |
OSRole.getValue(Object domainObject,
AttributeConstant attribute)
Gets the specified attribute value from the domain object.
|
Map<AttributeConstant,Object> |
AbstractOSRole.getValues(Object instance,
AttributeConstant[] attributes)
Returns a map of attributes values.
|
Map<AttributeConstant,Object> |
OSRole.getValues(Object instance,
AttributeConstant[] attributes)
Returns a map of attributes values.
|
boolean |
AbstractOSRole.isRelated(AttributeConstant attribute) |
boolean |
OSRole.isRelated(AttributeConstant attribute)
Test if an attribute is a related attribute of this object selection
role.
|
protected void |
AbstractOSRole.setRelatedValue(Object domainObject,
AttributeConstant attribute,
Object value)
Set an attribute value on a related role.
|
void |
OSRole.setValue(Object domainObject,
AttributeConstant attribute,
Object value)
Sets the specified attribute value on the domain object.
|
| Constructor and Description |
|---|
Key(RoleConstant roleConstant,
String keyName,
AttributeConstant... attributes)
Construct a new Key with the specified name and attributes.
|
Copyright © 2006–2018 Esito AS. All rights reserved.