Class _Category

  • All Implemented Interfaces:
    IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating
    Direct Known Subclasses:
    Category

    public abstract class _Category
    extends BaseEntity

    Provides the _Category database entity.

    Please note this class was generated by Cayenne. You should avoid making changes to this class as it may be regenerated. Please make customizations to the entity subclass.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String CATEGORY_OID_PK_COLUMN
      Provides the 'category_oid' primary key database column name.
      static org.apache.cayenne.exp.Property<Client> CLIENT
      Provides the 'CLIENT' property.
      static String CLIENT_PROPERTY
      Provides the 'client' relationship name.
      static org.apache.cayenne.exp.Property<String> DESCRIPTION
      Provides the 'DESCRIPTION' property.
      static String DESCRIPTION_PROPERTY
      Provides the 'description' property name.
      static org.apache.cayenne.exp.Property<List<FormCategory>> FORM_CATEGORIES
      Provides the 'FORM_CATEGORIES' property.
      static String FORM_CATEGORIES_PROPERTY
      Provides the 'formCategories' relationship name.
      static org.apache.cayenne.exp.Property<String> NAME
      Provides the 'NAME' property.
      static String NAME_PROPERTY
      Provides the 'name' property name.
      • Fields inherited from class org.apache.cayenne.CayenneDataObject

        values
      • Fields inherited from class org.apache.cayenne.BaseDataObject

        snapshotVersion
      • Fields inherited from class org.apache.cayenne.PersistentObject

        objectContext, objectId, persistenceState
      • Fields inherited from interface org.apache.cayenne.DataObject

        DEFAULT_VERSION
    • Constructor Summary

      Constructors 
      Constructor Description
      _Category()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addToFormCategories​(FormCategory obj)
      Add the FormCategories object.
      Client getClient()
      Return the Client.
      String getDescription()
      Return the description value.
      List<FormCategory> getFormCategories()
      Return the FormCategories.
      String getName()
      Return the name value.
      void removeFromFormCategories​(FormCategory obj)
      Remove the FormCategories object.
      void setClient​(Client client)
      Set the Client.
      void setDescription​(String description)
      Set the description value.
      void setName​(String name)
      Set the name value.
      • Methods inherited from class org.apache.cayenne.CayenneDataObject

        makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
      • Methods inherited from class org.apache.cayenne.BaseDataObject

        addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
      • Methods inherited from class org.apache.cayenne.PersistentObject

        getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
      • Methods inherited from interface org.apache.cayenne.Persistent

        getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
    • Field Detail

      • DESCRIPTION_PROPERTY

        public static final String DESCRIPTION_PROPERTY
        Provides the 'description' property name.
        See Also:
        Constant Field Values
      • FORM_CATEGORIES_PROPERTY

        public static final String FORM_CATEGORIES_PROPERTY
        Provides the 'formCategories' relationship name.
        See Also:
        Constant Field Values
      • CATEGORY_OID_PK_COLUMN

        public static final String CATEGORY_OID_PK_COLUMN
        Provides the 'category_oid' primary key database column name.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final org.apache.cayenne.exp.Property<String> DESCRIPTION
        Provides the 'DESCRIPTION' property.
      • NAME

        public static final org.apache.cayenne.exp.Property<String> NAME
        Provides the 'NAME' property.
      • CLIENT

        public static final org.apache.cayenne.exp.Property<Client> CLIENT
        Provides the 'CLIENT' property.
      • FORM_CATEGORIES

        public static final org.apache.cayenne.exp.Property<List<FormCategory>> FORM_CATEGORIES
        Provides the 'FORM_CATEGORIES' property.
    • Constructor Detail

      • _Category

        public _Category()
    • Method Detail

      • setDescription

        public void setDescription​(String description)
        Set the description value.
        Parameters:
        description - the description value to set
      • getDescription

        public String getDescription()
        Return the description value.
        Returns:
        description the description value
      • setName

        public void setName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
      • getName

        public String getName()
        Return the name value.
        Returns:
        name the name value
      • setClient

        public void setClient​(Client client)
        Set the Client.
        Parameters:
        client - the client value to set
      • getClient

        public Client getClient()
        Return the Client.
        Returns:
        the client value
      • addToFormCategories

        public void addToFormCategories​(FormCategory obj)
        Add the FormCategories object.
        Parameters:
        obj - the formCategories value to add
      • removeFromFormCategories

        public void removeFromFormCategories​(FormCategory obj)
        Remove the FormCategories object.
        Parameters:
        obj - the formCategories value to remove
      • getFormCategories

        public List<FormCategory> getFormCategories()
        Return the FormCategories.
        Returns:
        formCategories value