Package org.jboss.wildscribe.site
Class Attribute
- java.lang.Object
-
- org.jboss.wildscribe.site.Attribute
-
- All Implemented Interfaces:
Comparable<Attribute>
public class Attribute extends Object implements Comparable<Attribute>
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description Attribute(String name, String description, String type, boolean nillable, boolean expressionsAllowed, String defaultValue, Integer min, Integer max, String accessType, String storage, Deprecated deprecated, String unit, String restartRequired, String capabilityReference, String stability)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Attribute o)static AttributefromProperty(org.jboss.dmr.Property property)StringgetAccessType()Collection<String>getAllowedValues()StringgetCapabilityReference()StringgetDefaultValue()DeprecatedgetDeprecated()StringgetDescription()IntegergetMax()IntegergetMin()StringgetName()StringgetRestartRequired()StringgetStability()StringgetStorage()StringgetType()StringgetUnit()booleanisExpressionsAllowed()booleanisNillable()
-
-
-
Constructor Detail
-
Attribute
public Attribute(String name, String description, String type, boolean nillable, boolean expressionsAllowed, String defaultValue, Integer min, Integer max, String accessType, String storage, Deprecated deprecated, String unit, String restartRequired, String capabilityReference, String stability)
-
-
Method Detail
-
getName
public String getName()
-
getDescription
public String getDescription()
-
compareTo
public int compareTo(Attribute o)
- Specified by:
compareToin interfaceComparable<Attribute>
-
getType
public String getType()
-
isNillable
public boolean isNillable()
-
isExpressionsAllowed
public boolean isExpressionsAllowed()
-
getDefaultValue
public String getDefaultValue()
-
getMin
public Integer getMin()
-
getMax
public Integer getMax()
-
getAccessType
public String getAccessType()
-
getStorage
public String getStorage()
-
getDeprecated
public Deprecated getDeprecated()
-
getUnit
public String getUnit()
-
getRestartRequired
public String getRestartRequired()
-
getCapabilityReference
public String getCapabilityReference()
-
getAllowedValues
public Collection<String> getAllowedValues()
-
getStability
public String getStability()
-
fromProperty
public static Attribute fromProperty(org.jboss.dmr.Property property)
-
-