| Package | Description |
|---|---|
| de.aristaflow.adept2.core.orgmodelmanager | |
| de.aristaflow.adept2.model.orgmodel |
| Modifier and Type | Method and Description |
|---|---|
DataType |
ModelExplorer.getAttributeDataType(SessionToken session,
EntityType entType,
java.lang.String attrName)
Returns the data type of the given attribute of the given entity type.
|
DataType |
AttributeMetaData.MetaDataElement.getDataType()
Returns the date type of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ModelChangeOperations.addAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
DataType dataType)
Adds a new attribute with the given data type to the given
entity type.
|
void |
ModelChangeOperations.addAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
DataType dataType,
int sizeHint)
Adds a new attribute with the given data type to the given
entity type.
|
void |
ModelChangeOperations.addAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
DataType dataType,
int sizeHint,
java.lang.String omExtension,
java.lang.String mappedTo,
boolean isImported,
boolean isReadOnly)
Adds a new attribute with the given data type to the given entity type
which is being mapped from the designated org model extension.
|
void |
ModelChangeOperations.addAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
DataType dataType,
java.lang.String omExtension,
java.lang.String mappedTo,
boolean isImported,
boolean isReadOnly)
Adds a new attribute with the given data type to the given entity type
which is being mapped from the designated org model extension.
|
| Constructor and Description |
|---|
MetaDataElement(EntityType entityType,
java.lang.String name,
DataType dataType,
int sizeHint,
java.lang.String omExt,
java.lang.String mappedTo,
boolean imported,
boolean isReadOnly)
Constructs a new
MetaDataElement for the given entity type,
attribute name and data type. |
| Modifier and Type | Method and Description |
|---|---|
static DataType |
DataType.fromAdeptDataType(ProcessConstants.AdeptDataType adeptDataType)
Returns the equivalent
DataType for the specified
ProcessConstants.AdeptDataType or null if there is none. |
static DataType |
DataType.getDataTypeForObject(java.lang.Object object)
Returns the appropriate
DataType for the given type of the
object. |
static DataType |
DataType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CmpOperator.canCompare(DataType dataType)
Returns whether this comparison operator can generally work on the given
data type.
|
boolean |
CmpOperator.canCompare(DataType attributeDataType,
DataType valueObjectDataType)
Returns whether this operator can compare the two given data types.
|
boolean |
DataType.isAssignableFrom(DataType dataType)
Returns whether the given data type can be assign to this data type.
|
static ProcessConstants.AdeptDataType |
DataType.toAdeptDataType(DataType dataType)
Returns the equivalent
ProcessConstants.AdeptDataType for the specified
DataType or null if there is none. |