@GwtCompatible public class DatatypeProperties extends java.lang.Object implements AppianType, java.io.Serializable, com.appiancorp.type.DataTypeProperties, com.appiancorp.cache.CoupledValue
Modifier and Type | Field and Description |
---|---|
static java.lang.Long |
AUTO_GENERATE_LIST |
static int |
DYNAMIC_TYPE_HAS_USERNAME
Deprecated.
For Appian internal use only.
|
static int |
DYNAMIC_TYPE_HAS_VARIANT
Deprecated.
For Appian internal use only.
|
static Logger |
LOG |
static java.lang.Integer |
SORT_BY_BASE |
static java.lang.Integer |
SORT_BY_CREATION_TIME |
static java.lang.Integer |
SORT_BY_CREATOR |
static java.lang.Integer |
SORT_BY_DESCRIPTION |
static java.lang.Integer |
SORT_BY_FOUNDATION |
static java.lang.Integer |
SORT_BY_ID |
static java.lang.Integer |
SORT_BY_LIST |
static java.lang.Integer |
SORT_BY_NAME |
static java.lang.Integer |
SORT_BY_NAMESPACE |
static java.lang.Integer |
SORT_BY_ORIGIN |
static java.lang.Integer |
SORT_BY_TYPEOF |
static java.lang.Integer |
SORT_BY_VERSION_ID |
static java.lang.Integer |
SORT_BY_VERSIONS |
static java.lang.Integer |
SORT_BY_VISIBILITY |
static java.lang.String |
SUGGEST_PROPERTY_DESCRIPTION |
static java.lang.String |
SUGGEST_PROPERTY_NAME |
static java.lang.String |
SUGGEST_PROPERTY_QUALIFIED_NAME |
ADMINISTERED_PROPERTY, ALIAS, APPLICATION, ARRAY, ATTACHMENT, BEAN, BIG_RATIONAL, BINARY, BOOLEAN, CHART_COLOR, COMMUNITY, CONNECTED_SYSTEM, CONTENT_COMMUNITY, CONTENT_CONSTANT, CONTENT_CUSTOM, CONTENT_DOCUMENT, CONTENT_FOLDER, CONTENT_FREEFORM_RULE, CONTENT_ITEM, CONTENT_KNOWLEDGE_CENTER, CONTENT_RULE, CURRENCY, DATA_SOURCE, DATA_STORE, DATA_STORE_ENTITY, DATATYPE, DATE, DECISION, DECISION_TABLE, DECRYPTED_TEXT, DEFERRED, DICTIONARY, DISCUSSION_THREAD, DOCUMENT, DOCUMENT_OR_FOLDER, DOUBLE, EMAIL_ADDRESS, EMAIL_RECIPIENT, EMBEDDED_SAIL_THEME_ID, ENCRYPTED_TEXT, EVENT, EXPRESSION, EXTERNAL_REFERENCE, EXTERNAL_REFERENCE_WITH_INDICES, EXTERNAL_SYSTEM_ID, FIXED, FOLDER, FORUM, GROUP, GROUP_TYPE, ID_REFERENCE, INITIAL_CUSTOM_TYPE, INTEGER, INTEGER_KEY, INTERFACE, INTERVAL_D_S, KNOWLEDGE_CENTER, LINKS_CHANNEL_FOLDER, LIST, LIST_OF_ADMINISTERED_PROPERTY, LIST_OF_APPLICATION, LIST_OF_ATTACHMENT, LIST_OF_BEAN, LIST_OF_BIG_RATIONAL, LIST_OF_BINARY, LIST_OF_BOOLEAN, LIST_OF_CHART_COLOR, LIST_OF_COMMUNITY, LIST_OF_CONNECTED_SYSTEM, LIST_OF_CONTENT_COMMUNITY, LIST_OF_CONTENT_CONSTANT, LIST_OF_CONTENT_CUSTOM, LIST_OF_CONTENT_DOCUMENT, LIST_OF_CONTENT_FOLDER, LIST_OF_CONTENT_FREEFORM_RULE, LIST_OF_CONTENT_ITEM, LIST_OF_CONTENT_KNOWLEDGE_CENTER, LIST_OF_CONTENT_RULE, LIST_OF_CURRENCY, LIST_OF_DATA_SOURCE, LIST_OF_DATA_STORE, LIST_OF_DATA_STORE_ENTITY, LIST_OF_DATATYPE, LIST_OF_DATE, LIST_OF_DECISION, LIST_OF_DECISION_TABLE, LIST_OF_DECRYPTED_TEXT, LIST_OF_DEFERRED, LIST_OF_DICTIONARY, LIST_OF_DISCUSSION_THREAD, LIST_OF_DOCUMENT, LIST_OF_DOCUMENT_OR_FOLDER, LIST_OF_DOUBLE, LIST_OF_EMAIL_ADDRESS, LIST_OF_EMAIL_RECIPIENT, LIST_OF_EMBEDDED_SAIL_THEME_ID, LIST_OF_ENCRYPTED_TEXT, LIST_OF_EVENT, LIST_OF_EXPRESSION, LIST_OF_EXTERNAL_REFERENCE, LIST_OF_EXTERNAL_REFERENCE_WITH_INDICES, LIST_OF_EXTERNAL_SYSTEM_ID, LIST_OF_FIXED, LIST_OF_FOLDER, LIST_OF_FORUM, LIST_OF_GROUP, LIST_OF_GROUP_TYPE, LIST_OF_ID_REFERENCE, LIST_OF_INTEGER, LIST_OF_INTEGER_KEY, LIST_OF_INTERFACE, LIST_OF_INTERVAL_D_S, LIST_OF_KNOWLEDGE_CENTER, LIST_OF_LINKS_CHANNEL_FOLDER, LIST_OF_MAP, LIST_OF_MESSAGE, LIST_OF_NOTE, LIST_OF_NULL, LIST_OF_OUTBOUND_INTEGRATION, LIST_OF_PAGE, LIST_OF_PASSWORD, LIST_OF_PORTLET, LIST_OF_PROCESS, LIST_OF_PROCESS_ERROR, LIST_OF_PROCESS_MODEL, LIST_OF_PROCESS_MODEL_FOLDER, LIST_OF_QUERY_RULE, LIST_OF_QUICK_APP, LIST_OF_RANGE, LIST_OF_RECORD, LIST_OF_RECORD_REFERENCE, LIST_OF_RECORD_TYPE_ID, LIST_OF_RICH_TEXT, LIST_OF_RULE_FOLDER, LIST_OF_SAFE_URI, LIST_OF_SITE, LIST_OF_STRING, LIST_OF_STRING_KEY, LIST_OF_TASK, LIST_OF_TASK_REPORT, LIST_OF_TEMPO_FEED, LIST_OF_TEMPO_REPORT, LIST_OF_TIME, LIST_OF_TIMESTAMP, LIST_OF_TYPE, LIST_OF_UNIFORM_FOLDER, LIST_OF_UNION, LIST_OF_USER_OR_GROUP, LIST_OF_USERNAME, LIST_OF_VARIANT, LIST_OF_WEB_API, MAP, MESSAGE, NOTE, NULL, OUTBOUND_INTEGRATION, PAGE, PASSWORD, PORTLET, PROCESS, PROCESS_ERROR, PROCESS_MODEL, PROCESS_MODEL_FOLDER, QUERY_RULE, QUICK_APP, RANGE, RECORD, RECORD_REFERENCE, RECORD_TYPE_ID, RICH_TEXT, RULE_FOLDER, SAFE_URI, SITE, STRING, STRING_KEY, TASK, TASK_REPORT, TEMPO_FEED, TEMPO_REPORT, TIME, TIMESTAMP, TYPE, UI_CONTAINER, UNIFORM_FOLDER, UNION, USER_OR_GROUP, USERNAME, VARIANT, WEB_API
Constructor and Description |
---|
DatatypeProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addFlag(int flag_) |
void |
addToCache(java.util.Map cache)
INTERNAL: NOT API
|
boolean |
equals(java.lang.Object o_) |
java.lang.Long |
getBase()
The base of a Type is what it's based on.
|
java.lang.Long |
getBoundType()
If this type represents an external key, then the boundType is the
type to which this external key is bound.
|
int |
getCoupledValueType()
INTERNAL: NOT API
|
java.sql.Timestamp |
getCreationTime()
The creation time is the time at which a type was created.
|
java.lang.String |
getCreator()
The user who created the datatype
|
java.lang.String |
getDescription()
The description of the type.
|
java.lang.Integer |
getDynamic()
Deprecated.
For Appian internal use only.
|
java.lang.String |
getExternalTypeId() |
int |
getFlags()
Returns the flag that has been set on this datatype.
|
java.lang.Long |
getFoundation()
The foundation is the ultimate base of a Type.
|
java.lang.Long |
getId()
The id of the type.
|
static java.lang.Long[] |
getIds(Datatype[] dts_)
Get the ids (as a Long array) from an array of Datatype objects.
|
java.lang.Long |
getList()
Returns the list of this type.
|
LocaleString |
getLocalDescription() |
java.lang.String |
getLocalizedDescription(java.util.Locale locale_)
Returns the description of the object.
|
java.lang.String |
getLocalizedName(java.util.Locale locale_)
Returns the name of the object.
|
LocaleString |
getLocalName() |
java.lang.String |
getMask()
The mask determines the methodology used for converting to String on the backend.
|
java.lang.String |
getName()
The name of the type.
|
java.lang.String |
getNamespace()
The namespace that the type is a part of.
|
java.lang.String |
getNameWithinNamespace()
The name of the type within its namespace.
|
javax.xml.namespace.QName |
getQualifiedName()
The qualified name of the type.
|
TypeResource |
getResource()
This is arbitrary resource that may be stored with the Type.
|
java.lang.Integer |
getStableVersionNumber()
Deprecated.
Do not call this method.
|
protected static Datatype |
getType(java.lang.Long type_) |
java.lang.Long |
getTypeof()
The typeof the data inside the type.
|
java.lang.Long |
getVersionId()
Deprecated.
Do not call this method. The return value of this method cannot be relied on because it can
become out of date as further data types are created.
|
java.lang.Long[] |
getVersions()
Deprecated.
Do not call this method. The return value of this method cannot be relied on because it can
become out of date as further data types are created.
|
boolean |
hasFlag(int flag_) |
int |
hashCode() |
boolean |
isExternal()
Is this a key type bound to another type?
|
boolean |
isFoundationType()
Returns whether this type is a foundation type.
|
boolean |
isHidden() |
boolean |
isKeyedBy(com.appiancorp.cache.CoupledKey coupledKey)
INTERNAL: NOT API
|
boolean |
isLatestVersionModeOnForDataStores()
Gets latestVersionModeOnForDataStores flag, which determines whether references to this DatatypeProperties should be
updated to the latest version before use.
|
boolean |
isLatestVersionModeOnForProcessModels()
Gets latestVersionModeOnForProcessModels flag, which determines whether references to this DatatypeProperties should be
updated to the latest version before use.
|
boolean |
isLatestVersionModeOnForRules()
Gets latestVersionModeOnForRules flag, which determines whether references to this DatatypeProperties should be
updated to the latest version before use.
|
boolean |
isListType()
Returns whether this type is a list type.
|
boolean |
isRecordProxyType()
Returns whether this type is a record proxy type.
|
boolean |
isRecordType()
Returns whether this type is a record type.
|
boolean |
isRecordTypeOrProxyType()
Returns whether this type is a record proxy type or a record type.
|
boolean |
isSystemType()
Returns whether this type is a system type.
|
boolean |
isUnionType()
Returns whether this type is a union type.
|
protected boolean |
isValidToCache()
INTERNAL: NOT API
|
com.appiancorp.cache.CoupledElements |
newCoupledKeys()
INTERNAL: NOT API
|
com.appiancorp.cache.CoupledElements |
newCoupledValues()
INTERNAL: NOT API
|
boolean |
putAtCoupledKeys(com.appiancorp.cache.CoupledElements coupledKeys,
com.appiancorp.cache.CoupledElements coupledValues,
java.util.concurrent.ConcurrentMap intoCacheMap)
INTERNAL
|
void |
removeFlag(int flag_) |
void |
setBase(java.lang.Long base) |
void |
setBoundType(java.lang.Long boundType) |
void |
setCreationTime(java.sql.Timestamp creationTime) |
void |
setCreator(java.lang.String creator) |
void |
setDescription(java.lang.String description) |
void |
setDynamic(java.lang.Integer dynamic)
Deprecated.
For Appian internal use only.
|
void |
setExternalTypeId(java.lang.String externalTypeId_) |
void |
setFlags(int flags_) |
void |
setFoundation(java.lang.Long foundation) |
void |
setId(java.lang.Long id_) |
void |
setLatestVersionModeOnForDataStores(boolean latestVersionModeOnForDataStores)
Sets latestVersionModeOnForDataStores flag, which does not propagate to K.
|
void |
setLatestVersionModeOnForProcessModels(boolean latestVersionModeOnForProcessModels)
Sets latestVersionModeOnForProcessModels flag, which does not propagate to K.
|
void |
setLatestVersionModeOnForRules(boolean latestVersionModeOnForRules)
Sets latestVersionModeOnForRules flag, which does not propagate to K.
|
void |
setList(java.lang.Long list_) |
void |
setLocalDescription(LocaleString localDescription_) |
void |
setLocalName(LocaleString localName_) |
void |
setMask(java.lang.String mask) |
void |
setName(java.lang.String name) |
void |
setQualifiedName(javax.xml.namespace.QName qualifiedName) |
void |
setResource(TypeResource resource) |
void |
setStableVersionNumber(java.lang.Integer stableVersionNumber)
Deprecated.
Do not call this method.
|
void |
setTypeof(java.lang.Long typeof) |
void |
setVersionId(java.lang.Long versionId)
Deprecated.
see
getVersionId() |
void |
setVersions(java.lang.Long[] versions)
Deprecated.
see
#setVersions() |
java.lang.String |
toString() |
public static final Logger LOG
public static final java.lang.Long AUTO_GENERATE_LIST
public static final java.lang.String SUGGEST_PROPERTY_NAME
public static final java.lang.String SUGGEST_PROPERTY_DESCRIPTION
public static final java.lang.String SUGGEST_PROPERTY_QUALIFIED_NAME
public static final java.lang.Integer SORT_BY_ID
public static final java.lang.Integer SORT_BY_NAME
public static final java.lang.Integer SORT_BY_DESCRIPTION
public static final java.lang.Integer SORT_BY_NAMESPACE
public static final java.lang.Integer SORT_BY_CREATION_TIME
public static final java.lang.Integer SORT_BY_CREATOR
public static final java.lang.Integer SORT_BY_VISIBILITY
public static final java.lang.Integer SORT_BY_ORIGIN
public static final java.lang.Integer SORT_BY_FOUNDATION
public static final java.lang.Integer SORT_BY_BASE
public static final java.lang.Integer SORT_BY_TYPEOF
public static final java.lang.Integer SORT_BY_LIST
public static final java.lang.Integer SORT_BY_VERSIONS
public static final java.lang.Integer SORT_BY_VERSION_ID
@Deprecated public static final int DYNAMIC_TYPE_HAS_VARIANT
@Deprecated public static final int DYNAMIC_TYPE_HAS_USERNAME
public java.lang.Long getId()
getId
in interface com.appiancorp.type.DataTypeProperties
public void setId(java.lang.Long id_)
public java.lang.Long getBoundType()
public void setBoundType(java.lang.Long boundType)
public boolean isExternal()
public java.lang.String getExternalTypeId()
public void setExternalTypeId(java.lang.String externalTypeId_)
externalTypeId_
- the externalTypeId to set@Deprecated public java.lang.Integer getDynamic()
@Deprecated public void setDynamic(java.lang.Integer dynamic)
dynamic
- the dynamic flag to set.public java.lang.String getName()
getName
in interface com.appiancorp.type.DataTypeProperties
public void setName(java.lang.String name)
public java.lang.String getNamespace()
getNamespace
in interface com.appiancorp.type.DataTypeProperties
public java.lang.String getNameWithinNamespace()
getNameWithinNamespace
in interface com.appiancorp.type.DataTypeProperties
public javax.xml.namespace.QName getQualifiedName()
getQualifiedName
in interface com.appiancorp.type.DataTypeProperties
public void setQualifiedName(javax.xml.namespace.QName qualifiedName)
public java.lang.String getDescription()
getDescription
in interface com.appiancorp.type.DataTypeProperties
public void setDescription(java.lang.String description)
public java.lang.Long getBase()
public void setBase(java.lang.Long base)
public java.lang.Long getFoundation()
getFoundation
in interface com.appiancorp.type.DataTypeProperties
public void setFoundation(java.lang.Long foundation)
public java.sql.Timestamp getCreationTime()
public void setCreationTime(java.sql.Timestamp creationTime)
public java.lang.String getCreator()
public void setCreator(java.lang.String creator)
public java.lang.Long getTypeof()
getTypeof
in interface com.appiancorp.type.DataTypeProperties
public void setTypeof(java.lang.Long typeof)
public boolean isListType()
getTypeof()
.isListType
in interface com.appiancorp.type.DataTypeProperties
public boolean isRecordType()
isRecordType
in interface com.appiancorp.type.DataTypeProperties
public boolean isRecordProxyType()
public boolean isRecordTypeOrProxyType()
public boolean isUnionType()
public boolean isFoundationType()
getBase()
, while its ultimate base type can
be obtained using getFoundation()
.public boolean isSystemType()
DataTypeProperties.FLAG_SYSTEM
flagpublic java.lang.Long getList()
getList
in interface com.appiancorp.type.DataTypeProperties
public void setList(java.lang.Long list_)
public java.lang.String getMask()
public void setMask(java.lang.String mask)
public TypeResource getResource()
public void setResource(TypeResource resource)
@Deprecated public java.lang.Long getVersionId()
@Deprecated public void setVersionId(java.lang.Long versionId)
getVersionId()
versionId
- the value to set as the version id@Deprecated public java.lang.Integer getStableVersionNumber()
@Deprecated public void setStableVersionNumber(java.lang.Integer stableVersionNumber)
stableVersionNumber
- The stable version number of this type version.@Deprecated public java.lang.Long[] getVersions()
@Deprecated public void setVersions(java.lang.Long[] versions)
#setVersions()
versions
- All ids of versions in this version chainpublic int getFlags()
getFlags
in interface com.appiancorp.type.DataTypeProperties
public void setFlags(int flags_)
public boolean hasFlag(int flag_)
hasFlag
in interface com.appiancorp.type.DataTypeProperties
public void addFlag(int flag_)
public void removeFlag(int flag_)
public LocaleString getLocalName()
public void setLocalName(LocaleString localName_)
public java.lang.String getLocalizedName(java.util.Locale locale_)
locale_
- the locale to usepublic LocaleString getLocalDescription()
public void setLocalDescription(LocaleString localDescription_)
public java.lang.String getLocalizedDescription(java.util.Locale locale_)
locale_
- the locale to usepublic java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.Long[] getIds(Datatype[] dts_)
dts_
- an array of datatypesprotected static Datatype getType(java.lang.Long type_) throws InvalidTypeException
InvalidTypeException
public boolean isHidden()
isHidden
in interface com.appiancorp.type.DataTypeProperties
public boolean equals(java.lang.Object o_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isLatestVersionModeOnForDataStores()
public void setLatestVersionModeOnForDataStores(boolean latestVersionModeOnForDataStores)
latestVersionModeOnForDataStores
- flag to be set.public boolean isLatestVersionModeOnForProcessModels()
public void setLatestVersionModeOnForProcessModels(boolean latestVersionModeOnForProcessModels)
latestVersionModeOnForProcessModels
- flag to be set.public boolean isLatestVersionModeOnForRules()
public void setLatestVersionModeOnForRules(boolean latestVersionModeOnForRules)
latestVersionModeOnForRules
- flag to be set.public boolean putAtCoupledKeys(com.appiancorp.cache.CoupledElements coupledKeys, com.appiancorp.cache.CoupledElements coupledValues, java.util.concurrent.ConcurrentMap intoCacheMap)
putAtCoupledKeys
in interface com.appiancorp.cache.CoupledValue
public com.appiancorp.cache.CoupledElements newCoupledKeys()
newCoupledKeys
in interface com.appiancorp.cache.CoupledValue
public com.appiancorp.cache.CoupledElements newCoupledValues()
newCoupledValues
in interface com.appiancorp.cache.CoupledValue
public int getCoupledValueType()
getCoupledValueType
in interface com.appiancorp.cache.CoupledValue
public boolean isKeyedBy(com.appiancorp.cache.CoupledKey coupledKey)
isKeyedBy
in interface com.appiancorp.cache.CoupledValue
protected boolean isValidToCache()
public void addToCache(java.util.Map cache)
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.