public class XenonPropertyDescriptionImplementation extends java.lang.Object implements XenonPropertyDescription
XenonPropertyDescription.Component, XenonPropertyDescription.Type
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
defaultValue |
private java.lang.String |
description |
private java.util.Set<XenonPropertyDescription.Component> |
levels |
private java.lang.String |
name |
private XenonPropertyDescription.Type |
type |
Constructor and Description |
---|
XenonPropertyDescriptionImplementation(java.lang.String name,
XenonPropertyDescription.Type type,
java.util.Set<XenonPropertyDescription.Component> levels,
java.lang.String defaultValue,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultValue()
Returns the default value for this property.
|
java.lang.String |
getDescription()
Returns a human readable description of this property.
|
java.util.Set<XenonPropertyDescription.Component> |
getLevels()
Return a set containing all components that accept this property.
|
java.lang.String |
getName()
Returns the name of the property.
|
XenonPropertyDescription.Type |
getType()
Returns the type of the property.
|
java.lang.String |
toString() |
private final java.lang.String name
private final XenonPropertyDescription.Type type
private final java.util.Set<XenonPropertyDescription.Component> levels
private final java.lang.String defaultValue
private final java.lang.String description
public XenonPropertyDescriptionImplementation(java.lang.String name, XenonPropertyDescription.Type type, java.util.Set<XenonPropertyDescription.Component> levels, java.lang.String defaultValue, java.lang.String description)
public java.lang.String getName()
XenonPropertyDescription
getName
in interface XenonPropertyDescription
public XenonPropertyDescription.Type getType()
XenonPropertyDescription
getType
in interface XenonPropertyDescription
public java.util.Set<XenonPropertyDescription.Component> getLevels()
XenonPropertyDescription
getLevels
in interface XenonPropertyDescription
public java.lang.String getDefaultValue()
XenonPropertyDescription
getDefaultValue
in interface XenonPropertyDescription
null
is no default is set.public java.lang.String getDescription()
XenonPropertyDescription
getDescription
in interface XenonPropertyDescription
public java.lang.String toString()
toString
in class java.lang.Object