public class BasicPropertyDescriptor extends Object implements PropertyDescriptor
PropertyDescriptor.Multiplicity, PropertyDescriptor.OccurrenceBOOLEAN, DATE, DECIMAL, ENUM, FEATURE, FLOAT, INTEGER, LONG, PK, QUALIFIER_DELIM, QUALIFIER_DELIM_EXP, REFERENCE, TEXT| Constructor and Description |
|---|
BasicPropertyDescriptor(String qualifier,
String editorType) |
BasicPropertyDescriptor(String qualifier,
String attributeQualifier,
String editorType,
String description,
boolean readable,
boolean writable,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComposedTypeReferenceHelper(ComposedTypeReferenceHelper composedTypeReferenceHelper) |
protected static String |
computeAttributeQualifier(String qualifier) |
String |
getAttributeQualifier() |
List<?> |
getAvailableValues() |
ComposedTypeReferenceHelper |
getComposedTypeReferenceHelper() |
String |
getDescription()
localized description
|
String |
getEditorType()
The general editor type.
|
protected static String |
getLabel(String qualifier,
String type) |
PropertyDescriptor.Multiplicity |
getMultiplicity()
Specifies which type of collection this editor should handle.
|
String |
getName()
localized name
|
String |
getName(String languageIso) |
PropertyDescriptor.Occurrence |
getOccurence()
Tells if this property is mandatory, recommended or optional.
|
String |
getQualifier()
The (globally!) unique property qualifier.
|
String |
getReferenceComposedTypeCode() |
String |
getSelectionOf()
qualifier of property descriptor that holds the "selectionOf"
|
boolean |
isLocalized()
Tells whether this property contains localized data.
|
boolean |
isReadable() |
boolean |
isWritable() |
void |
setAvailableValues(List<?> availableValues) |
void |
setOccurrence(PropertyDescriptor.Occurrence occurrence) |
void |
setReferenceComposedTypeCode(String referenceComposedTypeCode) |
public String getQualifier()
PropertyDescriptorgetQualifier in interface PropertyDescriptorpublic boolean isLocalized()
PropertyDescriptorisLocalized in interface PropertyDescriptorpublic PropertyDescriptor.Occurrence getOccurence()
PropertyDescriptorgetOccurence in interface PropertyDescriptorpublic void setOccurrence(PropertyDescriptor.Occurrence occurrence)
public String getEditorType()
PropertyDescriptorgetEditorType in interface PropertyDescriptorpublic PropertyDescriptor.Multiplicity getMultiplicity()
PropertyDescriptorPropertyDescriptor.Multiplicity.SINGLE or null.getMultiplicity in interface PropertyDescriptorpublic String getName()
PropertyDescriptorgetName in interface PropertyDescriptorpublic String getName(String languageIso)
getName in interface PropertyDescriptorpublic String getDescription()
PropertyDescriptorgetDescription in interface PropertyDescriptorpublic boolean isReadable()
isReadable in interface PropertyDescriptorpublic boolean isWritable()
isWritable in interface PropertyDescriptorpublic String getSelectionOf()
PropertyDescriptorgetSelectionOf in interface PropertyDescriptorpublic String getAttributeQualifier()
public List<?> getAvailableValues()
public void setAvailableValues(List<?> availableValues)
public String getReferenceComposedTypeCode()
public void setReferenceComposedTypeCode(String referenceComposedTypeCode)
public void addComposedTypeReferenceHelper(ComposedTypeReferenceHelper composedTypeReferenceHelper)
public ComposedTypeReferenceHelper getComposedTypeReferenceHelper()
Copyright © 2017 SAP SE. All Rights Reserved.