Class _DocumentType

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

    public abstract class _DocumentType
    extends BaseEntity

    Provides the _DocumentType 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 Detail

      • DESCRIPTION_PROPERTY

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

        public static final String MAX_SIZE_PROPERTY
        Provides the 'maxSize' property name.
        See Also:
        Constant Field Values
      • MIME_OR_FILE_TYPES_PROPERTY

        public static final String MIME_OR_FILE_TYPES_PROPERTY
        Provides the 'mimeOrFileTypes' property name.
        See Also:
        Constant Field Values
      • VERSION_ATTACHMENTS_PROPERTY

        public static final String VERSION_ATTACHMENTS_PROPERTY
        Provides the 'versionAttachments' relationship name.
        See Also:
        Constant Field Values
      • DOCUMENT_TYPE_OID_PK_COLUMN

        public static final String DOCUMENT_TYPE_OID_PK_COLUMN
        Provides the 'document_type_oid' primary key database column name.
        See Also:
        Constant Field Values
      • CODE

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

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

        public static final org.apache.cayenne.exp.Property<Integer> MAX_SIZE
        Provides the 'MAX_SIZE' property.
      • MIME_OR_FILE_TYPES

        public static final org.apache.cayenne.exp.Property<String> MIME_OR_FILE_TYPES
        Provides the 'MIME_OR_FILE_TYPES' 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.
      • VERSION_ATTACHMENTS

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

      • _DocumentType

        public _DocumentType()
    • Method Detail

      • setCode

        public void setCode​(String code)
        Set the code value.
        Parameters:
        code - the code value to set
      • getCode

        public String getCode()
        Return the code value.
        Returns:
        code the code value
      • 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
      • setMaxSize

        public void setMaxSize​(Integer maxSize)
        Set the maxSize value.
        Parameters:
        maxSize - the maxSize value to set
      • getMaxSize

        public Integer getMaxSize()
        Return the maxSize value.
        Returns:
        maxSize the maxSize value
      • setMimeOrFileTypes

        public void setMimeOrFileTypes​(String mimeOrFileTypes)
        Set the mimeOrFileTypes value.
        Parameters:
        mimeOrFileTypes - the mimeOrFileTypes value to set
      • getMimeOrFileTypes

        public String getMimeOrFileTypes()
        Return the mimeOrFileTypes value.
        Returns:
        mimeOrFileTypes the mimeOrFileTypes 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
      • addToVersionAttachments

        public void addToVersionAttachments​(VersionAttachment obj)
        Add the VersionAttachments object.
        Parameters:
        obj - the versionAttachments value to add
      • removeFromVersionAttachments

        public void removeFromVersionAttachments​(VersionAttachment obj)
        Remove the VersionAttachments object.
        Parameters:
        obj - the versionAttachments value to remove
      • getVersionAttachments

        public List<VersionAttachment> getVersionAttachments()
        Return the VersionAttachments.
        Returns:
        versionAttachments value