public final class S_AttributeData extends S_LibraryObjectData
Modifier and Type | Field and Description |
---|---|
static Long |
ATTRIBUTE_CLASSID
Magic number: the class id of the Attribute class.
|
protected Long |
m_ClassDomainId
The resolved id of the ClassDomain attribute.
|
protected boolean |
m_ClassDomainResolved
Whether the ClassDomain attribute is resolved.
|
protected String |
m_DatabaseObjectName
The resolved value of the DatabaseObjectName attribute.
|
protected boolean |
m_DatabaseObjectNameResolved
Whether the DatabaseObjectName attribute is resolved.
|
protected int |
m_Datalength
The resolved value of the Datalength attribute.
|
protected boolean |
m_DatalengthResolved
Whether the Datalength attribute is resolved.
|
protected int |
m_Datascale
The resolved value of the Datascale attribute.
|
protected boolean |
m_DatascaleResolved
Whether the Datascale attribute is resolved.
|
protected int |
m_Datatype
The resolved value of the Datatype attribute.
|
protected boolean |
m_DatatypeResolved
Whether the Datatype attribute is resolved.
|
protected String |
m_Description
The resolved value of the Description attribute.
|
protected boolean |
m_DescriptionResolved
Whether the Description attribute is resolved.
|
protected boolean |
m_Indexed
The resolved value of the Indexed attribute.
|
protected boolean |
m_IndexedResolved
Whether the Indexed attribute is resolved.
|
protected String |
m_Name
The resolved value of the Name attribute.
|
protected boolean |
m_NameResolved
Whether the Name attribute is resolved.
|
protected Long |
m_PrimaryClassDomainClassId
The resolved id of the primary ClassObject defined in
the ClassDomain attribute.
|
protected boolean |
m_PrimaryClassDomainClassResolved
Whether the primary ClassObject of the ClassDomain attribute is resolved.
|
protected int |
m_ReferentialIntegrityRule
The resolved value of the ReferentialIntegrityRule attribute.
|
protected boolean |
m_ReferentialIntegrityRuleResolved
Whether the ReferentialIntegrityRule attribute is resolved.
|
protected boolean |
m_Required
The resolved value of the Required attribute.
|
protected boolean |
m_RequiredResolved
Whether the Required attribute is resolved.
|
protected boolean |
m_Settable
The resolved value of the Settable attribute.
|
protected boolean |
m_SettableResolved
Whether the Settable attribute is resolved.
|
protected boolean |
m_Unique
The resolved value of the Unique attribute.
|
protected boolean |
m_UniqueResolved
Whether the Unique attribute is resolved.
|
protected boolean |
m_Updateable
The resolved value of the Updateable attribute.
|
protected boolean |
m_UpdateableResolved
Whether the Updateable attribute is resolved.
|
protected Long |
m_ValueDefaultId
The resolved id of the ValueDefault attribute.
|
protected boolean |
m_ValueDefaultResolved
Whether the ValueDefault attribute is resolved.
|
protected Long |
m_ValueDomainId
The resolved id of the ValueDomain attribute.
|
protected boolean |
m_ValueDomainResolved
Whether the ValueDomain attribute is resolved.
|
protected boolean |
m_ValueDomainValidated
The resolved value of the ValueDomainValidated attribute.
|
protected boolean |
m_ValueDomainValidatedResolved
Whether the ValueDomainValidated attribute is resolved.
|
m_Attributes, m_ClassId, m_FullySelected, m_Id, m_Rsn
Constructor and Description |
---|
S_AttributeData(Long id,
Long classId,
AttributeValue[] attributes,
boolean isFullySelected,
S_LibrarySession session)
Constructs a S_AttributeData.
|
Modifier and Type | Method and Description |
---|---|
protected S_ClassDomain |
getClassDomain(S_LibrarySession session)
Gets the class domain of this attribute.
|
String |
getDatabaseObjectName(S_LibrarySession session)
Gets the database object name of this attribute.
|
int |
getDatalength(S_LibrarySession session)
Gets the datalength of this attribute.
|
int |
getDatascale(S_LibrarySession session)
Gets the datascale of this attribute.
|
int |
getDatatype(S_LibrarySession session)
Gets the datatype of this attribute.
|
String |
getDescription(S_LibrarySession session)
Gets the description of this attribute.
|
String |
getName(S_LibrarySession session)
Gets the name of this attribute.
|
protected S_ClassObject |
getPrimaryClassDomainClass(S_LibrarySession session)
Gets the Primary class defined by the ClassDomain.
|
protected Long |
getPrimaryClassDomainClassId(S_LibrarySession session)
Gets the ID of the Primary class defined by the ClassDomain.
|
int |
getReferentialIntegrityRule(S_LibrarySession session)
Gets the referential integrity rule for this attribute.
|
protected S_ValueDefault |
getValueDefault(S_LibrarySession session)
Gets the value default of this attribute.
|
protected S_ValueDomain |
getValueDomain(S_LibrarySession session)
Gets the value domain of this attribute.
|
boolean |
isIndexed(S_LibrarySession session)
Gets whether values for this attribute are indexed.
|
boolean |
isRequired(S_LibrarySession session)
Gets whether values for this attribute are required.
|
boolean |
isSettable(S_LibrarySession session)
Gets whether values for this attribute are settable.
|
boolean |
isUnique(S_LibrarySession session)
Gets whether values for this attribute are unique.
|
boolean |
isUpdateable(S_LibrarySession session)
Gets whether values for this attribute are updateable.
|
boolean |
isValidateValueDomain(S_LibrarySession session)
Gets whether the value domain of this attribute is enforced.
|
added, canPurge, findOrCreateSharedState, findOrCreateSharedState, findOrCreateSharedState, findOrCreateSharedState, findOrCreateSharedState, getAttribute, getAttribute, getAttributes, getClassId, getId, getRsn, isFullySelected, removed, resetSharedState, resetSharedState, setSharedState
public static final Long ATTRIBUTE_CLASSID
protected String m_Name
protected boolean m_NameResolved
protected int m_Datatype
protected boolean m_DatatypeResolved
protected int m_Datalength
protected boolean m_DatalengthResolved
protected int m_Datascale
protected boolean m_DatascaleResolved
protected boolean m_Unique
protected boolean m_UniqueResolved
protected boolean m_Required
protected boolean m_RequiredResolved
protected boolean m_Indexed
protected boolean m_IndexedResolved
protected boolean m_Settable
protected boolean m_SettableResolved
protected boolean m_Updateable
protected boolean m_UpdateableResolved
protected String m_DatabaseObjectName
protected boolean m_DatabaseObjectNameResolved
protected Long m_ClassDomainId
protected boolean m_ClassDomainResolved
protected Long m_PrimaryClassDomainClassId
protected boolean m_PrimaryClassDomainClassResolved
protected Long m_ValueDomainId
protected boolean m_ValueDomainResolved
protected Long m_ValueDefaultId
protected boolean m_ValueDefaultResolved
protected boolean m_ValueDomainValidated
protected boolean m_ValueDomainValidatedResolved
protected int m_ReferentialIntegrityRule
protected boolean m_ReferentialIntegrityRuleResolved
protected String m_Description
protected boolean m_DescriptionResolved
public S_AttributeData(Long id, Long classId, AttributeValue[] attributes, boolean isFullySelected, S_LibrarySession session) throws IfsException
id
- the idclassId
- the class idattributes
- an array of AttributeValuesisFullySelected
- whether attributes
represents the
full set of attributessession
- the sessionIfsException
- (IFS-30000) if the operation fails.public final String getName(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final int getDatatype(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final int getDatalength(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final int getDatascale(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final boolean isUnique(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final boolean isRequired(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final boolean isIndexed(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final boolean isSettable(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final boolean isUpdateable(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final String getDatabaseObjectName(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failsprotected final S_ClassDomain getClassDomain(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failsprotected final Long getPrimaryClassDomainClassId(S_LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failsprotected final S_ClassObject getPrimaryClassDomainClass(S_LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failsprotected final S_ValueDomain getValueDomain(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failsprotected final S_ValueDefault getValueDefault(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final boolean isValidateValueDomain(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final int getReferentialIntegrityRule(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failspublic final String getDescription(S_LibrarySession session) throws IfsException
This is more efficient than calling getAttribute
.
session
- the sessionIfsException
- if the operation failsCopyright © 2023. All rights reserved.