public interface PropertyService
PropertyDescriptors.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultEditorType(java.lang.String typeCode,
boolean localized)
Returns the default editor type for a property.
|
java.lang.String |
getMultiplicityString(PropertyDescriptor propertyDescriptor)
Get the multiplicity for a
PropertyDescriptor as a string. |
boolean |
isInitial(PropertyDescriptor propertyDescriptor)
Checks if a
PropertyDescriptor is initial. |
boolean |
isMandatory(PropertyDescriptor propertyDescriptor,
boolean creationMode)
Checks if a
PropertyDescriptor is mandatory. |
boolean |
isPartof(PropertyDescriptor propertyDescriptor)
Checks if a
PropertyDescriptor is partOf. |
java.lang.String getDefaultEditorType(java.lang.String typeCode,
boolean localized)
TypeService. If the
type is a collection or a map, its element type is used.typeCode - The typecode of the properties value.localized - Indicates if the property is localized.PropertyDescriptor,
e.g. PropertyDescriptor.TEXT.java.lang.String getMultiplicityString(PropertyDescriptor propertyDescriptor)
PropertyDescriptor as a string.String indicating the multiplicity, usually one of the constants
PropertyEditorDescriptor.DEFAULT, PropertyEditorDescriptor.MULTI or
PropertyEditorDescriptor.RANGE.boolean isInitial(PropertyDescriptor propertyDescriptor)
PropertyDescriptor is initial.boolean isPartof(PropertyDescriptor propertyDescriptor)
PropertyDescriptor is partOf.boolean isMandatory(PropertyDescriptor propertyDescriptor, boolean creationMode)
PropertyDescriptor is mandatory.Copyright © 2018 SAP SE. All Rights Reserved.