org.appng.api.support

## Class XmlGenerator.Entity

- java.lang.Object
- - org.appng.api.support.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 Summary

    Constructors
    Constructor and Description
    `Entity(Class<?> type, String[] properties)` Creates a new entity

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getIdType()`
    `String` | `getName()`
    `String` | `getPlural()`
    `String` | `getPluralLower()`
    `String[]` | `getProperties()`
    `String` | `getSimpleName()`
    `String` | `getSimpleNameLower()`
    `Class<?>` | `getType()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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()

Copyright © 2011–2023 aiticon GmbH. All rights reserved.