|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.FeatureDescriptor atg.beans.SerializableFeatureDescriptor atg.beans.DynamicPropertyDescriptor atg.repository.RepositoryPropertyDescriptor atg.adapter.gsa.GSAPropertyDescriptor
public class GSAPropertyDescriptor
GSA property definition. Each GSAItemDescriptor can have one or more of these.
GSARepository
,
Serialized FormField Summary | |
---|---|
static int |
ARRAY
|
static int |
BIG_STRING
|
static int |
BINARY
|
static int |
BOOLEAN
|
static int |
BYTE
|
static java.lang.String |
CLASS_VERSION
Class version string |
static int |
DATE
|
static int |
DOUBLE
|
static int |
ENUMERATED
|
static int |
ENUMERATED_STRING
|
static int |
FLOAT
|
static int |
GSAID
|
static int |
INT
|
static int |
INVALID_DATA_TYPE
|
static int |
LIST
|
static int |
LONG
|
static int |
MAP
|
protected boolean |
mMapSub
Convenience method for retrieving mapsub property status. |
protected atg.core.jdbc.ResultSetGetter[] |
mResultSetGetters
|
static int |
SET
|
static int |
SHORT
|
static int |
STRING
Values for the DataType property |
static int |
TIMESTAMP
|
Fields inherited from class atg.repository.RepositoryPropertyDescriptor |
---|
EMPTY_LIST, EMPTY_MAP, EMPTY_SET, FOREIGN_REPOSITORY_NAME, FOREIGN_REPOSITORY_PATH, mCollectionOrMap |
Fields inherited from class atg.beans.DynamicPropertyDescriptor |
---|
PORTABLE_VALUE_KEY |
Fields inherited from class atg.beans.SerializableFeatureDescriptor |
---|
BUNDLE_ATTRIBUTE_NAME, LOCALE_ATTRIBUTE_NAME |
Fields inherited from interface atg.adapter.gsa.Constants |
---|
ATTR_CASCADE_DELETE_ORDER, ATTR_CSW_PROPERTIES, ATTR_CSW_QUERIES, ATTR_CURRENT_ITEM_CACHE_SIZE, ATTR_CURRENT_ITEM_CACHE_TIMEOUT, ATTR_DEFAULT_UNCACHED_ITEM_QUERIES, ATTR_HEAD_OF_LINE_CACHE_SIZE, ATTR_HEAD_OF_LINE_CACHE_TIMEOUT, ATTR_LOADING_STRATEGY, ATTR_SPLIT_QUERIES, ATTR_TEXT_HANDLE_COLUMN, ATTR_TEXT_INDEX_TABLE, ATTR_UPDATE_LAST_MODIFIED, CASCADE_DELETE_AFTER_AUX_BEFORE_PRI, CASCADE_DELETE_FIRST, CASCADE_DELETE_LAST, CASCADE_DELETE_ORDER_NAMES, DEFAULT_EVENT_SERVER, DEFAULT_GSA_CACHE_CLIENT_MANAGER, DEFAULT_INVALIDATOR_SERVICE, ERR_ADD_MISSING_PROPERTIES, ERR_ADD_NON_TRANSIENT, ERR_ARGS_FOR_NON_PARAMETER_QUERY, ERR_BAD_EVENT_DATA, ERR_BAD_TABLE, ERR_CACHE_LOCALITY_MODE_CONFLICT, ERR_CIRCULAR_REFERENCE, ERR_CLASS_NOT_FOUND, ERR_COMPARE_MULTI, ERR_COMPARE_NONCOMPARABLE, ERR_CONTENT_PROPERTIES_NOT_DEFINED, ERR_COULD_NOT_UNSUBSCRIBE, ERR_DEPENDENT_PROP_NOT_EXISTS, ERR_DEPENDENT_PROP_NULL, ERR_DS_PREPARE, ERR_DS_SWITCH, ERR_DUPLICATES, ERR_FOLDER_PROPERTIES_NOT_DEFINED, ERR_HANDLING_INVALIDATE_CACHE_ENTRY, ERR_ID_SPACE_CONFIGURATION, ERR_ILLEGAL_PARAM_TYPE, ERR_INITIALIZING_ID_GENERATOR, ERR_INVALID_COMPARISON_QUERY, ERR_INVALID_DATA_TYPE_NAME, ERR_INVALID_ITEM, ERR_INVALID_ITEM_DESCRIPTOR_NAME, ERR_INVALID_KEY, ERR_INVALID_KEY_ELEMENT, ERR_INVALID_KEY_ENCODING, ERR_INVALID_KEY_VALUES, ERR_INVALID_LIST_INDEX, ERR_INVALID_PATTERNMATCH_QUERY, ERR_INVALID_PROPERTY, ERR_INVALID_QUERY, ERR_INVALID_QUERY_ELEMENT, ERR_INVALID_TEXT_SEARCH_QUERY, ERR_INVALID_TM_DS_COMBO, ERR_ITEM_NOT_EXIST, ERR_LOAD_COLUMN_INFO, ERR_MISSING_ID_SPACE, ERR_NO_ARGS_FOR_QUERY, ERR_NO_DATABASE_TABLE_INFO, ERR_NO_DATATYPE_FOR_PROPERTY, ERR_NO_DB2_HANDLE, ERR_NO_DEFAULT_SEARCH_PROPERTIES, ERR_NO_EVENT_SERVER, ERR_NO_IDS, ERR_NO_LOWER_FUNCTION, ERR_NO_PARAMETER_EXPRESSION, ERR_NO_PARSER, ERR_NO_PRIMARY_TABLE, ERR_NO_SUB_PROPERTIES, ERR_NO_SUBSCRIBER_ITEM_DESCRIPTOR, ERR_NO_SYB_TEXT_INDEX, ERR_NO_TEMPLATE_FILES, ERR_NO_TRANSACTION, ERR_NO_TRANSIENT_QUERIES, ERR_NOT_DISTRIBUTED_MODE, ERR_NULL_ARGUMENT, ERR_NULL_ID, ERR_NULL_ITEM, ERR_NULL_QUERY_OPTIONS, ERR_PARSING_TEMPLATE, ERR_PROCEDURE_HELPER_INIT, ERR_PROPERTY_NOT_QUERYABLE, ERR_RETURN_PROP_NOT_EXISTS, ERR_RETURN_PROP_NOT_GSA, ERR_RETURN_PROP_NOT_READ, ERR_RETURN_PROP_NULL, ERR_RQL_FILTER, ERR_SQL_STRING_NULL, ERR_SUB_TYPE_PROPERTY_ON_NON_ROOT_TYPE, ERR_TABLE_KEY_UNMATCHED, ERR_TRANSACTION, ERR_TYPE_MATCHING, ERR_UNABLE_TO_READ_TEMPLATE_FILE, ERR_UNKNOWN_EVENT_TYPE, ERR_VERSION_PROPERTY_INVALID_TYPE, ERR_VIEW_IS_TRANSIENT, ERR_WRONG_NUMBER_ARGS_FOR_QUERY, FTS_LANG_DB2, FTS_LANG_MSSQL, FTS_LANG_MSSQL_INLINE, FTS_LANG_ORACLE, FTS_LANG_SYBASE, INFO_STARTUP_BEGIN, INFO_STARTUP_END, ISOLATION_LEVEL_NAMES, LOADING_STRATEGY_DEFAULT, LOADING_STRATEGY_EAGER, LOADING_STRATEGY_LAZY, READ_COMMITTED, REPEATABLE_READ, REPOSITORY_COMPONENT_NAME, RESOURCE_BUNDLE_NAME, SERIALIZABLE, SUBSCRIBER_ADDRESS_PROPERTY, SUBSCRIBER_ITEM_DESCRIPTOR_NAME, SUBSCRIBER_ITEM_DESCRIPTOR_PROPERTY, SUBSCRIBER_PORT_PROPERTY, SUBSCRIBER_REPOSITORY_PROPERTY, WARN_PROBLEM_SENDING_EVENT, WARN_RETURN_PROP_MULTI, WARN_RETURN_PROP_TRANSIENT |
Constructor Summary | |
---|---|
GSAPropertyDescriptor()
Empty constructor |
Method Summary | |
---|---|
int |
compareTo(GSAPropertyDescriptor pOther)
Compare this property descriptor to another property descriptor. |
int |
compareTo(java.lang.Object pOther)
Compare this descriptor to another object. |
java.beans.PropertyEditor |
createDBPropertyEditor()
This is a property editor which always converts values to/from the database version of the property. |
boolean |
equals(java.lang.Object pOther)
Compare this object to the specified object. |
boolean |
getAllowNullValues()
When it allowNullValues is false on a multi-valued property, null values are silently stripped, and saving a null value will result in an error. |
java.lang.String |
getCacheMode()
|
boolean |
getCacheReferencesById()
|
int |
getColumnCount()
Get property ColumnCount |
java.lang.String[] |
getColumnNames()
Get property ColumnNames |
java.lang.Class |
getComponentPropertyType()
|
static int |
getDataTypeByClass(java.lang.Class pClass)
Return the type value for a given class. |
static int |
getDataTypeByName(java.lang.String pName)
Return the type value for a given name. |
static java.lang.Class |
getDataTypeClass(int pType)
|
static java.lang.String |
getDataTypeName(int pType)
|
static java.lang.String |
getDataTypeNameFromClass(java.lang.Class pClass)
|
int[] |
getDataTypes()
|
java.lang.String |
getErrorCode()
Do some error checking on this property descriptor. |
java.lang.String |
getGroup()
|
GSAPropertyDescriptor[] |
getGroupProperties()
|
java.lang.String |
getHandleColumn()
Get property handleColumn |
int |
getId()
Get property Id |
int[] |
getIdPartIndices()
Get property IdPartIndex . |
int[] |
getJDBCColumnLengths()
Get property JDBCColumnLengths
These are the lengths of character or numeric
columns as reported by JDBC. |
java.lang.String[] |
getJDBCPrimaryKeyNames()
Get property JDBCPrimaryKeyNames
These are the names of the primary key
associated with the column(s) in which this
property is stored. |
static int |
getJDBCTypeByName(java.lang.String pName)
Return the jdbc type value for a given name. |
static java.lang.String |
getJDBCTypeName(int pType)
|
int[] |
getJDBCTypes()
Get property JDBCTypes |
boolean |
getJDBCTypesKnown()
Get property JDBCTypesKnown |
java.lang.String |
getLoadingStrategy()
Get property loadingStrategy |
java.util.ResourceBundle |
getLocalizedResourceBundle()
Override the getResourceBundle method which is used to localize values for this property descriptor to the user's locale. |
GSAPropertyDescriptor |
getManyToOneIdProperty()
|
GSAPropertyDescriptor |
getManyToOneMultiProperty()
|
java.lang.Object |
getPropertyValue(RepositoryItemImpl pItem,
java.lang.Object pValue)
This method is called to retrieve a read-only value for this property. |
GSAPropertyDescriptor |
getReciprocalProperty()
Returns true if the property has a reciprocal property from another item descriptor |
boolean |
getRemoveNullValues()
|
Repository |
getRepository()
Get property Repository. |
java.util.ResourceBundle |
getResourceBundle()
Override the getResourceBundle method which is used to localize values for this property descriptor to the server locale. |
atg.core.jdbc.ResultSetGetter[] |
getResultSetGetters()
Get property resultSetGetter . |
GSAPropertyDescriptor[] |
getReverseReferenceProperties()
Returns the property or properties that reverse this reference. |
atg.adapter.gsa.Table |
getTable()
Get property Table |
atg.adapter.gsa.Table |
getTextIndexTable()
Get property textIndexTable |
java.lang.String |
getTypeName()
Returns the name of this type for use in the data-type attribute |
static java.lang.String |
getTypeSQL(atg.adapter.gsa.DatabaseTableInfo pDatabaseTableInfo,
int pDataType,
int pLength)
Returns the name of this type for use in the data-type attribute |
java.lang.Object |
getUnmodifiableDefaultValue()
Returns property UnmodifiableDefaultValue |
java.lang.Object |
getValue(java.lang.String pName)
Retrieve a named attribute with this feature. |
int |
hashCode()
Get a hashcode for this object |
boolean |
hasReciprocalProperty()
Returns true if the property has a reciprocal property from another item descriptor |
boolean |
isComposite()
Get property Composite . |
boolean |
isDefaultProperty()
Test property defaultProperty |
boolean |
isGSAId()
|
boolean |
isInherited()
|
boolean |
isInternallyWritable()
|
boolean |
isJDBCColumnLengthsKnown()
Returns true if the column length information for the columns of this property has been gathered already. |
boolean[] |
isJDBCPrimaryKey()
Get property JDBCPrimaryKey
These are the names of the primary key
associated with the column(s) in which this
property is stored. |
boolean |
isJDBCPrimaryKeyNamesKnown()
Returns true if the column length information for the columns of this property has been gathered already. |
boolean |
isJDBCTypesKnown()
Test property JDBCTypesKnown |
boolean |
isLoggingDebug()
Check logging debug status |
boolean |
isLoggingError()
Check logging error status |
boolean |
isLoggingWarning()
Check logging warning status |
boolean |
isMapSub()
|
boolean |
isMultiValued()
Convenience method for retrieving multi valued status. |
boolean |
isProhibitDuplicates()
Get property ProhibitDuplicates |
boolean |
isValidValue(java.lang.Object pPropertyValue)
Returns true if the given property value is a valid value for this property, false otherwise. |
boolean |
isVersionable()
Returns true if this property should be checked for versioning. |
void |
logDebug(java.lang.String pMsg)
Log a debug message |
void |
logDebug(java.lang.String pMsg,
int pLevel)
Log a debug message |
void |
logError(java.lang.String pMsg)
Log a error message |
void |
logError(java.lang.Throwable pThrowable)
Log a error message |
void |
logWarning(java.lang.String pMsg)
Log a warning message |
java.lang.Object |
rawToReal(java.lang.Object pRawValue)
Translate a raw property value to a real value. |
java.lang.Object[] |
rawToReal(java.lang.Object[] pRawValues)
This is the multi-object version of the rawToReal function. |
java.lang.Object[] |
rawToReal(java.lang.Object[] pRawValues,
RepositoryItem pReferencingItem)
This is the multi-object version of the rawToReal function. |
java.lang.Object |
realToRaw(java.lang.Object pRealValue)
Translate a property value to a raw value. |
void |
setAllowNullValues(boolean pAllowNullValues)
Sets the property allowNullValues. |
void |
setCacheMode(java.lang.String pCacheMode)
Sets the property CacheMode. |
void |
setCacheReferencesById(boolean pCacheReferencesById)
Sets the property CacheReferencesById. |
void |
setCascadeDelete(boolean pDelete)
Sets the property CascadeDelete. |
void |
setCascadeInsert(boolean pInsert)
Sets the property CascadeInsert. |
void |
setCascadeUpdate(boolean pUpdate)
Sets the property CascadeUpdate. |
void |
setColumnNames(java.lang.String[] pColumnNames)
Set property ColumnNames |
void |
setComponentPropertyType(java.lang.Class pComponentPropertyType)
Sets the property ComponentPropertyType. |
void |
setDataTypes(int[] pDataTypes)
Sets the property DataTypes. |
void |
setGroup(java.lang.String pGroup)
Sets the property Group. |
void |
setGroupProperties(GSAPropertyDescriptor[] pGroupProperties)
Sets the property GroupProperties. |
void |
setHandleColumn(java.lang.String pHandleColumn)
Set property handleColumn |
void |
setId(int pId)
Set property Id |
void |
setIdPartIndices(int[] pIdPartIndices)
Set property IdPartIndices |
void |
setInherited(boolean pInherited)
Sets the property Inherited. |
void |
setInternallyWritable(boolean pInternallyWritable)
Sets the property InternallyWritable. |
void |
setJDBCColumnLengths(int[] pColumnLengths)
Set property JDBCColumnLengths |
void |
setJDBCColumnLengthsKnown(boolean pKnown)
|
void |
setJDBCPrimaryKey(boolean[] pPrimaryKey)
Set property JDBCPrimaryKey |
void |
setJDBCPrimaryKeyNames(java.lang.String[] pPrimaryKeyNames)
Set property JDBCPrimaryKeyNames |
void |
setJDBCPrimaryKeyNamesKnown(boolean pKnown)
|
void |
setJDBCTypes(int[] pJDBCTypes)
Set property JDBCTypes |
void |
setJDBCTypesByName(java.lang.String pNames)
Sets the list of JDBC types via a String with "," separated values if there is more than one. |
void |
setJDBCTypesKnown(boolean pJDBCTypesKnown)
Set property JDBCTypesKnown |
void |
setLoadingStrategy(java.lang.String pLoadingStrategy)
Set property loadingStrategy |
void |
setManyToOneIdProperty(GSAPropertyDescriptor pManyToOneIdProperty)
Sets the property ManyToOneIdProperty. |
void |
setManyToOneMultiProperty(GSAPropertyDescriptor pManyToOneMultiProperty)
Sets the property ManyToOneMultiProperty. |
void |
setProhibitDuplicates(boolean pProhibitDuplicates)
Set prohibitDuplicates |
void |
setPropertyValue(RepositoryItemImpl pItem,
java.lang.Object pValue)
Sets the property of this type for the item descriptor provided. |
void |
setRemoveNullValues(boolean pRemoveNullValues)
Sets the property RemoveNullValues. |
void |
setTable(atg.adapter.gsa.Table pTable)
Set property Table. |
void |
setTextIndexTable(atg.adapter.gsa.Table pTextIndexTable)
Set property textIndexTable |
void |
setValue(java.lang.String pAttributeName,
java.lang.Object pValue)
Associate a named attribute with this feature. |
atg.adapter.gsa.GSAId |
toGSAId(java.lang.Object pValue)
Convert the value to a GSAId using the correct descriptor |
atg.adapter.gsa.GSAId |
toGSAId(java.lang.Object pValue,
boolean pReversed)
Convert the value to a GSAId using the correct descriptor |
java.lang.String |
toString()
Return a string representation of this object |
void |
updatePropertyDescriptor()
This method gets called when all of the property descriptor's properties have been set. |
Methods inherited from class atg.beans.DynamicPropertyDescriptor |
---|
createLocalePropertyEditor, createLocalePropertyEditor, createPropertyEditor, getPropertyEditorClass, getPropertyType, getUIPropertyEditor, isReadable, isRequired, isWritable, setPropertyEditorClass, setReadable, setRequired, setWritable |
Methods inherited from class atg.beans.SerializableFeatureDescriptor |
---|
copyFeatureDescriptor, getDisplayName, getDisplayNameResource, getDisplaySortString, getShortDescription, getShortDescriptionResource, getSortString, setDisplayNameResource, setShortDescriptionResource |
Methods inherited from class java.beans.FeatureDescriptor |
---|
attributeNames, getName, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
protected transient atg.core.jdbc.ResultSetGetter[] mResultSetGetters
protected boolean mMapSub
public static final int STRING
public static final int BIG_STRING
public static final int DATE
public static final int ENUMERATED
public static final int ENUMERATED_STRING
public static final int BOOLEAN
public static final int INT
public static final int BYTE
public static final int SHORT
public static final int FLOAT
public static final int DOUBLE
public static final int BINARY
public static final int LONG
public static final int TIMESTAMP
public static final int ARRAY
public static final int SET
public static final int LIST
public static final int MAP
public static final int GSAID
public static final int INVALID_DATA_TYPE
Constructor Detail |
---|
public GSAPropertyDescriptor()
Method Detail |
---|
public void setId(int pId)
pId
- new value to setpublic int getId()
public void setComponentPropertyType(java.lang.Class pComponentPropertyType)
setComponentPropertyType
in class DynamicPropertyDescriptor
pComponentPropertyType
- new value to setpublic java.lang.Class getComponentPropertyType()
getComponentPropertyType
in class DynamicPropertyDescriptor
public boolean isDefaultProperty()
defaultProperty
defaultProperty
public void setProhibitDuplicates(boolean pProhibitDuplicates)
pProhibitDuplicates
- new value to setpublic boolean isProhibitDuplicates()
public boolean hasReciprocalProperty()
public GSAPropertyDescriptor getReciprocalProperty()
public boolean isValidValue(java.lang.Object pPropertyValue)
isValidValue
in class RepositoryPropertyDescriptor
public void setPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
setPropertyValue
in class RepositoryPropertyDescriptor
public boolean isVersionable()
isVersionable
in class RepositoryPropertyDescriptor
public java.lang.Object[] rawToReal(java.lang.Object[] pRawValues)
pRawValues
- for a property
public java.lang.Object[] rawToReal(java.lang.Object[] pRawValues, RepositoryItem pReferencingItem)
pRawValues
- for a propertypReferencingItem
- the item that contains the property the raw values came from
public java.lang.Object rawToReal(java.lang.Object pRawValue)
pRawValue
- for a property
public java.lang.Object realToRaw(java.lang.Object pRealValue)
pRealValue
- for a property
public java.beans.PropertyEditor createDBPropertyEditor()
public java.lang.Object getPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
getPropertyValue
in class RepositoryPropertyDescriptor
pItem
- the RepositoryItemImpl for this propertypValue
- the value to be returned for this property
public Repository getRepository()
public void setTable(atg.adapter.gsa.Table pTable)
pTable
- new value to setpublic atg.adapter.gsa.Table getTable()
public void setTextIndexTable(atg.adapter.gsa.Table pTextIndexTable)
textIndexTable
pTextIndexTable
- new value to setpublic atg.adapter.gsa.Table getTextIndexTable()
textIndexTable
textIndexTable
public void setHandleColumn(java.lang.String pHandleColumn)
handleColumn
pHandleColumn
- new value to setpublic java.lang.String getHandleColumn()
handleColumn
public void setColumnNames(java.lang.String[] pColumnNames)
ColumnNames
pColumnNames
- new value to setpublic java.lang.String[] getColumnNames()
ColumnNames
public int getColumnCount()
ColumnCount
public boolean isComposite()
Composite
.
public boolean isGSAId()
public int[] getIdPartIndices()
IdPartIndex
.
public void setIdPartIndices(int[] pIdPartIndices)
IdPartIndices
pIdPartIndices
- new value to setpublic atg.adapter.gsa.GSAId toGSAId(java.lang.Object pValue)
could
- be an encoded GSAId, String, Integer or Long or an array
public atg.adapter.gsa.GSAId toGSAId(java.lang.Object pValue, boolean pReversed)
could
- be an encoded GSAId, String, Integer or Long or an array
public void setDataTypes(int[] pDataTypes)
pDataTypes
- new value to setpublic int[] getDataTypes()
public boolean[] isJDBCPrimaryKey()
JDBCPrimaryKey
These are the names of the primary key
associated with the column(s) in which this
property is stored.
public void setJDBCPrimaryKey(boolean[] pPrimaryKey)
JDBCPrimaryKey
pJDBCTypes
- new value to setpublic java.lang.String[] getJDBCPrimaryKeyNames()
JDBCPrimaryKeyNames
These are the names of the primary key
associated with the column(s) in which this
property is stored.
public void setJDBCPrimaryKeyNames(java.lang.String[] pPrimaryKeyNames)
JDBCPrimaryKeyNames
pJDBCTypes
- new value to setpublic boolean isJDBCPrimaryKeyNamesKnown()
public void setJDBCPrimaryKeyNamesKnown(boolean pKnown)
public int[] getJDBCColumnLengths()
JDBCColumnLengths
These are the lengths of character or numeric
columns as reported by JDBC.
public void setJDBCColumnLengths(int[] pColumnLengths)
JDBCColumnLengths
pJDBCTypes
- new value to setpublic boolean isJDBCColumnLengthsKnown()
public void setJDBCColumnLengthsKnown(boolean pKnown)
public void setJDBCTypes(int[] pJDBCTypes)
JDBCTypes
pJDBCTypes
- new value to setpublic int[] getJDBCTypes()
JDBCTypes
JDBCTypes
public void setJDBCTypesByName(java.lang.String pNames)
public void setJDBCTypesKnown(boolean pJDBCTypesKnown)
JDBCTypesKnown
pJDBCTypeKnown
- new value to setpublic boolean getJDBCTypesKnown()
JDBCTypesKnown
JDBCTypeKnown
public boolean isJDBCTypesKnown()
JDBCTypesKnown
JDBCTypesKnown
public java.lang.String getTypeName()
getTypeName
in class RepositoryPropertyDescriptor
public static java.lang.String getTypeSQL(atg.adapter.gsa.DatabaseTableInfo pDatabaseTableInfo, int pDataType, int pLength)
public void setCacheMode(java.lang.String pCacheMode)
pCacheMode
- new value to setpublic java.lang.String getCacheMode()
public void setGroupProperties(GSAPropertyDescriptor[] pGroupProperties)
pGroupProperties
- new value to setpublic GSAPropertyDescriptor[] getGroupProperties()
public void setGroup(java.lang.String pGroup)
pGroup
- new value to setpublic java.lang.String getGroup()
public atg.core.jdbc.ResultSetGetter[] getResultSetGetters()
resultSetGetter
. Derived property
for now.
resultSetGetter
public boolean isMultiValued()
isMultiValued
in class RepositoryPropertyDescriptor
public boolean isMapSub()
public void setInternallyWritable(boolean pInternallyWritable)
pInternallyWritable
- new value to setpublic boolean isInternallyWritable()
public void setInherited(boolean pInherited)
pInherited
- new value to setpublic boolean isInherited()
public void setCascadeInsert(boolean pInsert)
RepositoryPropertyDescriptor
setCascadeInsert
in class RepositoryPropertyDescriptor
pInsert
- new value to setpublic void setCascadeUpdate(boolean pUpdate)
RepositoryPropertyDescriptor
setCascadeUpdate
in class RepositoryPropertyDescriptor
pUpdate
- new value to setpublic void setCascadeDelete(boolean pDelete)
RepositoryPropertyDescriptor
setCascadeDelete
in class RepositoryPropertyDescriptor
pDelete
- new value to setpublic static int getDataTypeByName(java.lang.String pName)
public static int getDataTypeByClass(java.lang.Class pClass)
public static java.lang.Class getDataTypeClass(int pType)
public static java.lang.String getDataTypeName(int pType)
public static java.lang.String getDataTypeNameFromClass(java.lang.Class pClass)
public static int getJDBCTypeByName(java.lang.String pName)
public static java.lang.String getJDBCTypeName(int pType)
public java.lang.String toString()
toString
in class RepositoryPropertyDescriptor
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object pOther)
equals
in class java.lang.Object
public int compareTo(java.lang.Object pOther)
compareTo(GSAPropertyDescriptor)
, otherwise it
throws ClassCastException
as property descriptors are only
comparable to other property descriptors.
compareTo
in interface java.lang.Comparable
pOther
- object to compare
public int compareTo(GSAPropertyDescriptor pOther)
pOther
- object to compare
public java.lang.String getErrorCode()
public void setValue(java.lang.String pAttributeName, java.lang.Object pValue)
setValue
in class RepositoryPropertyDescriptor
attributeName
- The locale-independent name of the attributevalue
- The value.public java.lang.Object getUnmodifiableDefaultValue()
RepositoryPropertyDescriptor
getUnmodifiableDefaultValue
in class RepositoryPropertyDescriptor
public java.lang.Object getValue(java.lang.String pName)
getValue
in class java.beans.FeatureDescriptor
attributeName
- The locale-independent name of the attribute
public void updatePropertyDescriptor()
public java.util.ResourceBundle getLocalizedResourceBundle()
getLocalizedResourceBundle
in class RepositoryPropertyDescriptor
public java.util.ResourceBundle getResourceBundle()
getResourceBundle
in class RepositoryPropertyDescriptor
public GSAPropertyDescriptor[] getReverseReferenceProperties()
public void setManyToOneIdProperty(GSAPropertyDescriptor pManyToOneIdProperty)
pManyToOneIdProperty
- new value to setpublic GSAPropertyDescriptor getManyToOneIdProperty()
public void setManyToOneMultiProperty(GSAPropertyDescriptor pManyToOneMultiProperty)
pManyToOneMultiProperty
- new value to setpublic GSAPropertyDescriptor getManyToOneMultiProperty()
public void setRemoveNullValues(boolean pRemoveNullValues)
pRemoveNullValues
- new value to setpublic boolean getRemoveNullValues()
public void setAllowNullValues(boolean pAllowNullValues)
pAllowNullValues
- new value to setpublic boolean getAllowNullValues()
public void setCacheReferencesById(boolean pCacheReferencesById)
pCacheReferencesById
- new value to setpublic boolean getCacheReferencesById()
public void setLoadingStrategy(java.lang.String pLoadingStrategy)
loadingStrategy
pLoadingStrategy
- new value to setpublic java.lang.String getLoadingStrategy()
loadingStrategy
loadingStrategy
public void logDebug(java.lang.String pMsg)
public void logDebug(java.lang.String pMsg, int pLevel)
public void logWarning(java.lang.String pMsg)
public void logError(java.lang.String pMsg)
public void logError(java.lang.Throwable pThrowable)
public boolean isLoggingDebug()
isLoggingDebug
in class RepositoryPropertyDescriptor
public boolean isLoggingWarning()
public boolean isLoggingError()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |