public class PropertyDescriptor extends Object
ValueSet
, a Pattern
or
an ValueRange
.
Attribute changes may be observed by adding a property (attribute) change listeners
to instances of this class.Constructor and Description |
---|
PropertyDescriptor(PropertyDescriptor propertyDescriptor) |
PropertyDescriptor(String name,
Class<?> type) |
PropertyDescriptor(String name,
Class<?> type,
Map<String,Object> attributes) |
public PropertyDescriptor(PropertyDescriptor propertyDescriptor)
public String getName()
public Class<?> getType()
public String getDisplayName()
public void setDisplayName(String displayName)
public String getAlias()
public void setAlias(String alias)
public String getUnit()
public void setUnit(String unit)
public String getDescription()
public void setDescription(String description)
public boolean isNotNull()
public void setNotNull(boolean notNull)
public boolean isNotEmpty()
public void setNotEmpty(boolean notEmpty)
public boolean isDeprecated()
public void setDeprecated(boolean deprecated)
public boolean isTransient()
public void setTransient(boolean b)
public String getFormat()
public void setFormat(String format)
public ValueRange getValueRange()
public void setValueRange(ValueRange valueRange)
public Pattern getPattern()
public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
public void setPattern(Pattern pattern)
public ValueSet getValueSet()
public void setValueSet(ValueSet valueSet)
public Converter<?> getConverter()
public Converter<?> getConverter(boolean notNull)
public void setDefaultConverter()
public void setConverter(Converter<?> converter)
public DomConverter getDomConverter()
public void setDomConverter(DomConverter converter)
public Validator getValidator()
public void setValidator(Validator validator)
public PropertySetDescriptor getPropertySetDescriptor()
public void setPropertySetDescriptor(PropertySetDescriptor propertySetDescriptor)
public String getItemAlias()
public void setItemAlias(String alias)
@Deprecated public boolean getItemsInlined()
@Deprecated public void setItemsInlined(boolean inlined)
public final void addAttributeChangeListener(PropertyChangeListener listener)
public final void removeAttributeChangeListener(PropertyChangeListener listener)
public PropertyChangeListener[] getAttributeChangeListeners()
public static String getDisplayName(PropertyDescriptor propertyDescriptor)
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.