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_VALUEPORTABLE_VALUE_KEYBUNDLE_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, getAttributeNames, getCascadeDelete, getCascadeInsert, getCascadeUpdate, getComponentItemDescriptor, getComponentPropertyBeanInfo, getDefaultValue, getDefaultValueString, getEnumeratedLocalizedValuesMapping, getEnumeratedValues, getItemDescriptor, getLocalizedResourceBundle, getPropertyBeanInfo, getPropertyItemDescriptor, getResourceBundle, getResourceBundleName, getSecureLogging, getSecureLoggingFormatter, getSecureLoggingString, getUnmodifiableDefaultValue, getValue, isAssignableFrom, isCacheable, isCollectionOrMap, isDerived, isDynamicallyCreated, isIdProperty, isIgnoreNullValue, isLocalizable, 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, toStringcreateLocalePropertyEditor, createLocalePropertyEditor, createPropertyEditor, getComponentPropertyType, getLocale, getPropertyEditorClass, getUIPropertyEditor, isReadable, isRequired, isWritable, setComponentPropertyType, setPropertyEditorClass, setReadable, setRequired, setWritablecopyFeatureDescriptor, getCurrentLocale, getDisplayName, getDisplayName, getDisplayNameResource, getDisplaySortString, getLocalizedDisplayName, getLocalizedResourceBundle, getShortDescription, getShortDescriptionResource, getSortString, setDisplayNameResource, setShortDescriptionResourcepublic 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 DynamicPropertyDescriptorpublic java.lang.String getTypeName()
getTypeName in class RepositoryPropertyDescriptorpublic 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 RepositoryPropertyDescriptorpublic java.lang.Object getPropertyValue(RepositoryItemImpl pItem, java.lang.Object pCachedValue)
getPropertyValue in class RepositoryPropertyDescriptorpublic void setPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
setPropertyValue in class RepositoryPropertyDescriptorpublic boolean isLoggingDebug()
isLoggingDebug in class RepositoryPropertyDescriptor