Class PropertiesDescription


  • public class PropertiesDescription
    extends java.lang.Object
    Represents all properties known for a specific namespace Type and attributes associated to each properties are saved If a specific type well declared is used, this class map it to a basic type
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​PropertyType> types  
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertiesDescription()
      Build PropMapping for specified namespace
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • types

        private final java.util.Map<java.lang.String,​PropertyType> types
    • Constructor Detail

      • PropertiesDescription

        public PropertiesDescription()
        Build PropMapping for specified namespace
    • Method Detail

      • getPropertiesName

        public java.util.List<java.lang.String> getPropertiesName()
        Get All Properties Name
        Returns:
        a list of properties qualifiedName
      • addNewProperty

        public void addNewProperty​(java.lang.String name,
                                   PropertyType type)
        Add a new property, an attributes list can be given or can be null
        Parameters:
        name - new property name
        type - Valuetype of the new property
      • getPropertyType

        public PropertyType getPropertyType​(java.lang.String name)
        Return a type of a property from its qualifiedName
        Parameters:
        name - The name of the property concerned
        Returns:
        Type of property or null