Class XmlGenerator.Entity

  • Enclosing class:
    XmlGenerator

    public static class XmlGenerator.Entity
    extends Object
    Represents a domain object of a certain type with a number of properties
    • Constructor Detail

      • Entity

        public Entity​(Class<?> type,
                      String[] properties)
        Creates a new entity
        Parameters:
        type - the type of the entity to create
        properties - the properties to map when generating XML
    • Method Detail

      • getName

        public String getName()
      • getSimpleName

        public String getSimpleName()
      • getSimpleNameLower

        public String getSimpleNameLower()
      • getPlural

        public String getPlural()
      • getPluralLower

        public String getPluralLower()
      • getType

        public Class<?> getType()
      • getProperties

        public String[] getProperties()
      • getIdType

        public String getIdType()