public class PropertiesDescription
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,PropertyType> |
types |
Constructor and Description |
---|
PropertiesDescription()
Build PropMapping for specified namespace
|
Modifier and Type | Method and Description |
---|---|
void |
addNewProperty(java.lang.String name,
PropertyType type)
Add a new property, an attributes list can be given or can be null
|
java.util.List<java.lang.String> |
getPropertiesName()
Get All Properties Name
|
PropertyType |
getPropertyType(java.lang.String name)
Return a type of a property from its qualifiedName
|
private final java.util.Map<java.lang.String,PropertyType> types
public PropertiesDescription()
public java.util.List<java.lang.String> getPropertiesName()
public void addNewProperty(java.lang.String name, PropertyType type)
name
- new property nametype
- Valuetype of the new propertypublic PropertyType getPropertyType(java.lang.String name)
name
- The name of the property concerned