public class ItemAttributePropertyDescriptor extends java.lang.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 |
|---|
ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType,
ComposedTypeModel declaringEnclosingType,
java.util.List<AttributeDescriptorModel> attributeDescriptors) |
ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType,
java.util.List<AttributeDescriptorModel> attributeDescriptors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<AttributeDescriptorModel> |
getAttributeDescriptors() |
java.lang.String |
getAttributeQualifier() |
java.util.List<java.lang.String> |
getAttributeQualifiers() |
java.lang.String |
getDescription()
localized description
|
java.lang.String |
getEditorType()
The general editor type.
|
ComposedTypeModel |
getEnclosingType() |
AttributeDescriptorModel |
getFirstAttributeDescriptor() |
AttributeDescriptorModel |
getLastAttributeDescriptor() |
PropertyDescriptor.Multiplicity |
getMultiplicity()
Specifies which type of collection this editor should handle.
|
java.lang.String |
getName()
localized name
|
java.lang.String |
getName(java.lang.String languageIso) |
PropertyDescriptor.Occurrence |
getOccurence()
Tells if this property is mandatory, recommended or optional.
|
java.lang.String |
getQualifier()
The (globally!) unique property qualifier.
|
java.lang.String |
getSelectionOf()
qualifier of property descriptor that holds the "selectionOf"
|
java.lang.String |
getTypeCode() |
int |
hashCode() |
boolean |
isLocalized()
Tells whether this property contains localized data.
|
boolean |
isReadable() |
boolean |
isRedeclared() |
boolean |
isSingleAttribute() |
boolean |
isWritable() |
void |
setEditorType(java.lang.String type) |
void |
setOccurence(PropertyDescriptor.Occurrence occ) |
void |
setSelectionOf(java.lang.String selectionOf) |
java.lang.String |
toString() |
public ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, java.util.List<AttributeDescriptorModel> attributeDescriptors)
public ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, ComposedTypeModel declaringEnclosingType, java.util.List<AttributeDescriptorModel> attributeDescriptors)
public ComposedTypeModel getEnclosingType()
public java.util.List<AttributeDescriptorModel> getAttributeDescriptors()
public AttributeDescriptorModel getLastAttributeDescriptor()
public AttributeDescriptorModel getFirstAttributeDescriptor()
public void setEditorType(java.lang.String type)
public java.lang.String getEditorType()
PropertyDescriptorgetEditorType in interface PropertyDescriptorpublic PropertyDescriptor.Multiplicity getMultiplicity()
PropertyDescriptorPropertyDescriptor.Multiplicity.SINGLE or null.getMultiplicity in interface PropertyDescriptorpublic void setOccurence(PropertyDescriptor.Occurrence occ)
public PropertyDescriptor.Occurrence getOccurence()
PropertyDescriptorgetOccurence in interface PropertyDescriptorpublic java.lang.String getQualifier()
PropertyDescriptorgetQualifier in interface PropertyDescriptorpublic java.lang.String getAttributeQualifier()
public java.util.List<java.lang.String> getAttributeQualifiers()
public java.lang.String getTypeCode()
public boolean isLocalized()
PropertyDescriptorisLocalized in interface PropertyDescriptorpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String getName()
PropertyDescriptorgetName in interface PropertyDescriptorpublic java.lang.String getName(java.lang.String languageIso)
getName in interface PropertyDescriptorpublic java.lang.String getDescription()
PropertyDescriptorgetDescription in interface PropertyDescriptorpublic boolean isReadable()
isReadable in interface PropertyDescriptorpublic boolean isWritable()
isWritable in interface PropertyDescriptorpublic boolean isSingleAttribute()
public void setSelectionOf(java.lang.String selectionOf)
public java.lang.String getSelectionOf()
PropertyDescriptorgetSelectionOf in interface PropertyDescriptorpublic boolean isRedeclared()
Copyright © 2018 SAP SE. All Rights Reserved.