public class RepositoryLinkPropertyDescriptor extends RepositoryPropertyDescriptor
isIdProperty
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
EMPTY_LIST, EMPTY_MAP, EMPTY_SET, FOREIGN_REPOSITORY_NAME, FOREIGN_REPOSITORY_PATH, IS_BACKING_MAP_PROPERTY, mCollectionOrMap, NULL_VALUE
PORTABLE_VALUE_KEY
BUNDLE_ATTRIBUTE_NAME, LOCALE_ATTRIBUTE_NAME
Constructor and Description |
---|
RepositoryLinkPropertyDescriptor()
Constructs a new RepositoryLinkPropertyDescriptor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getPropertyType()
Returns the property type.
|
java.lang.Object |
getPropertyValue(RepositoryItemImpl pItem,
java.lang.Object pCachedValue)
Returns the value of the underlying property.
|
java.lang.String |
getTypeName()
Returns the name this type uses in the XML file.
|
java.lang.String |
getUniqueIdPropertyLocal()
Returns the property to use as the local unique id.
|
java.lang.String |
getUniqueIdPropertyRemote()
Returns the property to use as the remote unique id.
|
boolean |
isLoggingDebug()
Returns true if the repository we are part of is logging debug
statements.
|
void |
setPropertyValue(RepositoryItemImpl pItem,
java.lang.Object pValue)
Sets the property of this type for the item descriptor provided.
|
void |
setUniqueIdPropertyLocal(java.lang.String pUniqueIdPropertyLocal)
Sets the property to use as the local unique id.
|
void |
setUniqueIdPropertyRemote(java.lang.String pUniqueIdPropertyRemote)
Sets the property to use as the remote unique id.
|
void |
setValue(java.lang.String pAttributeName,
java.lang.Object pValue)
Catches the attribute values that we care about and stores them
in member variables.
|
clone, createPropertyDescriptorFromType, getAttributesAsMap, getCascadeDelete, getCascadeInsert, getCascadeUpdate, getComponentItemDescriptor, getComponentPropertyBeanInfo, getDefaultValue, getDefaultValueString, getEnumeratedValues, getItemDescriptor, getLocalizedResourceBundle, getPropertyBeanInfo, getPropertyItemDescriptor, getResourceBundle, getResourceBundleName, getSecureLogging, getSecureLoggingFormatter, getSecureLoggingString, getUnmodifiableDefaultValue, getValue, isAssignableFrom, isCacheable, isCollectionOrMap, isDerived, isDynamicallyCreated, isIdProperty, isIgnoreNullValue, isMultiValued, isPersistent, isQueryable, isSecureLogging, isValidValue, isVersionable, isVersionableSet, registerPropertyDescriptorClass, setCacheable, setCascadeDelete, setCascadeInsert, setCascadeUpdate, setComponentItemDescriptor, setDefaultValue, setDefaultValueString, setDerived, setDynamicallyCreated, setIdProperty, setIgnoreNullValue, setItemDescriptor, setLoggingDebug, setPersistent, setPropertyItemDescriptor, setPropertyType, setQueryable, setResourceBundleName, setSecureLogging, setSecureLoggingFormatter, setVersionable, toString
createLocalePropertyEditor, createLocalePropertyEditor, createPropertyEditor, getComponentPropertyType, getLocale, getPropertyEditorClass, getUIPropertyEditor, isReadable, isRequired, isWritable, setComponentPropertyType, setPropertyEditorClass, setReadable, setRequired, setWritable
copyFeatureDescriptor, getDisplayName, getDisplayName, getDisplayNameResource, getDisplaySortString, getLocalizedResourceBundle, getShortDescription, getShortDescriptionResource, getSortString, setDisplayNameResource, setShortDescriptionResource
public RepositoryLinkPropertyDescriptor()
public java.lang.String getUniqueIdPropertyLocal()
public void setUniqueIdPropertyLocal(java.lang.String pUniqueIdPropertyLocal)
public java.lang.String getUniqueIdPropertyRemote()
public void setUniqueIdPropertyRemote(java.lang.String pUniqueIdPropertyRemote)
public java.lang.Class getPropertyType()
getPropertyType
in class DynamicPropertyDescriptor
public java.lang.String getTypeName()
getTypeName
in class RepositoryPropertyDescriptor
public void setValue(java.lang.String pAttributeName, java.lang.Object pValue)
Looks for:
uniqueIdPropertyLocal
: the name of the local
property to link against
uniqueIdPropertyRemote
: the name of the remote
property to link against
setValue
in class RepositoryPropertyDescriptor
public java.lang.Object getPropertyValue(RepositoryItemImpl pItem, java.lang.Object pCachedValue)
getPropertyValue
in class RepositoryPropertyDescriptor
public void setPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
setPropertyValue
in class RepositoryPropertyDescriptor
public boolean isLoggingDebug()
isLoggingDebug
in class RepositoryPropertyDescriptor