Package com.avoka.fc.core.entity.auto
Class _DocumentType
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._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 Summary
Fields Modifier and Type Field Description 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>
CODE
Provides the 'CODE' property.static String
CODE_PROPERTY
Provides the 'code' property name.static org.apache.cayenne.exp.Property<String>
DESCRIPTION
Provides the 'DESCRIPTION' property.static String
DESCRIPTION_PROPERTY
Provides the 'description' property name.static String
DOCUMENT_TYPE_OID_PK_COLUMN
Provides the 'document_type_oid' primary key database column name.static org.apache.cayenne.exp.Property<Integer>
MAX_SIZE
Provides the 'MAX_SIZE' property.static String
MAX_SIZE_PROPERTY
Provides the 'maxSize' property name.static org.apache.cayenne.exp.Property<String>
MIME_OR_FILE_TYPES
Provides the 'MIME_OR_FILE_TYPES' property.static String
MIME_OR_FILE_TYPES_PROPERTY
Provides the 'mimeOrFileTypes' property name.static org.apache.cayenne.exp.Property<String>
NAME
Provides the 'NAME' property.static String
NAME_PROPERTY
Provides the 'name' property name.static org.apache.cayenne.exp.Property<List<VersionAttachment>>
VERSION_ATTACHMENTS
Provides the 'VERSION_ATTACHMENTS' property.static String
VERSION_ATTACHMENTS_PROPERTY
Provides the 'versionAttachments' relationship name.-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description _DocumentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToVersionAttachments(VersionAttachment obj)
Add the VersionAttachments object.Client
getClient()
Return the Client.String
getCode()
Return the code value.String
getDescription()
Return the description value.Integer
getMaxSize()
Return the maxSize value.String
getMimeOrFileTypes()
Return the mimeOrFileTypes value.String
getName()
Return the name value.List<VersionAttachment>
getVersionAttachments()
Return the VersionAttachments.void
removeFromVersionAttachments(VersionAttachment obj)
Remove the VersionAttachments object.void
setClient(Client client)
Set the Client.void
setCode(String code)
Set the code value.void
setDescription(String description)
Set the description value.void
setMaxSize(Integer maxSize)
Set the maxSize value.void
setMimeOrFileTypes(String mimeOrFileTypes)
Set the mimeOrFileTypes value.void
setName(String name)
Set the name value.-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
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
-
-
-
-
Field Detail
-
CODE_PROPERTY
public static final String CODE_PROPERTY
Provides the 'code' property name.- See Also:
- Constant Field Values
-
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
-
NAME_PROPERTY
public static final String NAME_PROPERTY
Provides the 'name' property name.- See Also:
- Constant Field Values
-
CLIENT_PROPERTY
public static final String CLIENT_PROPERTY
Provides the 'client' relationship 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.
-
-
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
-
-