Package com.avoka.fc.core.entity.auto
Class _LibraryResource
- 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._LibraryResource
-
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
- Direct Known Subclasses:
LibraryResource
public abstract class _LibraryResource extends BaseEntity
Provides the _LibraryResource 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<Boolean>
BINARY_DATA_FLAG
Provides the 'BINARY_DATA_FLAG' property.static String
BINARY_DATA_FLAG_PROPERTY
Provides the 'binaryDataFlag' property name.static org.apache.cayenne.exp.Property<Date>
CREATED_AT
Provides the 'CREATED_AT' property.static String
CREATED_AT_PROPERTY
Provides the 'createdAt' property name.static org.apache.cayenne.exp.Property<String>
CREATED_BY
Provides the 'CREATED_BY' property.static String
CREATED_BY_PROPERTY
Provides the 'createdBy' property name.static org.apache.cayenne.exp.Property<String>
FILE_NAME
Provides the 'FILE_NAME' property.static String
FILE_NAME_PROPERTY
Provides the 'fileName' property name.static org.apache.cayenne.exp.Property<Integer>
FILE_SIZE
Provides the 'FILE_SIZE' property.static String
FILE_SIZE_PROPERTY
Provides the 'fileSize' property name.static org.apache.cayenne.exp.Property<String>
FOLDER_PATH
Provides the 'FOLDER_PATH' property.static String
FOLDER_PATH_PROPERTY
Provides the 'folderPath' property name.static org.apache.cayenne.exp.Property<Date>
LAST_MODIFIED_AT
Provides the 'LAST_MODIFIED_AT' property.static String
LAST_MODIFIED_AT_PROPERTY
Provides the 'lastModifiedAt' property name.static org.apache.cayenne.exp.Property<String>
LAST_MODIFIED_BY
Provides the 'LAST_MODIFIED_BY' property.static String
LAST_MODIFIED_BY_PROPERTY
Provides the 'lastModifiedBy' property name.static org.apache.cayenne.exp.Property<Library>
LIBRARY
Provides the 'LIBRARY' property.static String
LIBRARY_PROPERTY
Provides the 'library' relationship name.static org.apache.cayenne.exp.Property<LibraryResourceData>
LIBRARY_RESOURCE_DATA
Provides the 'LIBRARY_RESOURCE_DATA' property.static String
LIBRARY_RESOURCE_DATA_PROPERTY
Provides the 'libraryResourceData' relationship name.static org.apache.cayenne.exp.Property<List<LibraryResourceHistory>>
LIBRARY_RESOURCE_HISTORY
Provides the 'LIBRARY_RESOURCE_HISTORY' property.static String
LIBRARY_RESOURCE_HISTORY_PROPERTY
Provides the 'libraryResourceHistory' relationship name.static String
LIBRARY_RESOURCE_OID_PK_COLUMN
Provides the 'library_resource_oid' primary key database column name.static org.apache.cayenne.exp.Property<String>
MD5HASH
Provides the 'MD5HASH' property.static String
MD5HASH_PROPERTY
Provides the 'md5Hash' property name.static org.apache.cayenne.exp.Property<String>
MIME_TYPE
Provides the 'MIME_TYPE' property.static String
MIME_TYPE_PROPERTY
Provides the 'mimeType' property name.static org.apache.cayenne.exp.Property<String>
PATH
Provides the 'PATH' property.static String
PATH_PROPERTY
Provides the 'path' property name.static org.apache.cayenne.exp.Property<String>
SOURCE_PATH
Provides the 'SOURCE_PATH' property.static String
SOURCE_PATH_PROPERTY
Provides the 'sourcePath' property name.static org.apache.cayenne.exp.Property<String>
TYPE
Provides the 'TYPE' property.static String
TYPE_PROPERTY
Provides the 'type' property name.-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description _LibraryResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToLibraryResourceHistory(LibraryResourceHistory obj)
Add the LibraryResourceHistory object.Date
getCreatedAt()
Return the createdAt value.String
getCreatedBy()
Return the createdBy value.String
getFileName()
Return the fileName value.Integer
getFileSize()
Return the fileSize value.String
getFolderPath()
Return the folderPath value.Date
getLastModifiedAt()
Return the lastModifiedAt value.String
getLastModifiedBy()
Return the lastModifiedBy value.Library
getLibrary()
Return the Library.LibraryResourceData
getLibraryResourceData()
Return the LibraryResourceData.List<LibraryResourceHistory>
getLibraryResourceHistory()
Return the LibraryResourceHistory.String
getMd5Hash()
Return the md5Hash value.String
getMimeType()
Return the mimeType value.String
getPath()
Return the path value.String
getSourcePath()
Return the sourcePath value.String
getType()
Return the type value.boolean
isBinaryDataFlag()
Return the binaryDataFlag value.void
removeFromLibraryResourceHistory(LibraryResourceHistory obj)
Remove the LibraryResourceHistory object.void
setBinaryDataFlag(boolean binaryDataFlag)
Set the binaryDataFlag value.void
setCreatedAt(Date createdAt)
Set the createdAt value.void
setCreatedBy(String createdBy)
Set the createdBy value.void
setFileName(String fileName)
Set the fileName value.void
setFileSize(Integer fileSize)
Set the fileSize value.void
setFolderPath(String folderPath)
Set the folderPath value.void
setLastModifiedAt(Date lastModifiedAt)
Set the lastModifiedAt value.void
setLastModifiedBy(String lastModifiedBy)
Set the lastModifiedBy value.void
setLibrary(Library library)
Set the Library.void
setLibraryResourceData(LibraryResourceData libraryResourceData)
Set the LibraryResourceData.void
setMd5Hash(String md5Hash)
Set the md5Hash value.void
setMimeType(String mimeType)
Set the mimeType value.void
setPath(String path)
Set the path value.void
setSourcePath(String sourcePath)
Set the sourcePath value.void
setType(String type)
Set the type 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
-
BINARY_DATA_FLAG_PROPERTY
public static final String BINARY_DATA_FLAG_PROPERTY
Provides the 'binaryDataFlag' property name.- See Also:
- Constant Field Values
-
CREATED_AT_PROPERTY
public static final String CREATED_AT_PROPERTY
Provides the 'createdAt' property name.- See Also:
- Constant Field Values
-
CREATED_BY_PROPERTY
public static final String CREATED_BY_PROPERTY
Provides the 'createdBy' property name.- See Also:
- Constant Field Values
-
FILE_NAME_PROPERTY
public static final String FILE_NAME_PROPERTY
Provides the 'fileName' property name.- See Also:
- Constant Field Values
-
FILE_SIZE_PROPERTY
public static final String FILE_SIZE_PROPERTY
Provides the 'fileSize' property name.- See Also:
- Constant Field Values
-
FOLDER_PATH_PROPERTY
public static final String FOLDER_PATH_PROPERTY
Provides the 'folderPath' property name.- See Also:
- Constant Field Values
-
LAST_MODIFIED_AT_PROPERTY
public static final String LAST_MODIFIED_AT_PROPERTY
Provides the 'lastModifiedAt' property name.- See Also:
- Constant Field Values
-
LAST_MODIFIED_BY_PROPERTY
public static final String LAST_MODIFIED_BY_PROPERTY
Provides the 'lastModifiedBy' property name.- See Also:
- Constant Field Values
-
MD5HASH_PROPERTY
public static final String MD5HASH_PROPERTY
Provides the 'md5Hash' property name.- See Also:
- Constant Field Values
-
MIME_TYPE_PROPERTY
public static final String MIME_TYPE_PROPERTY
Provides the 'mimeType' property name.- See Also:
- Constant Field Values
-
PATH_PROPERTY
public static final String PATH_PROPERTY
Provides the 'path' property name.- See Also:
- Constant Field Values
-
SOURCE_PATH_PROPERTY
public static final String SOURCE_PATH_PROPERTY
Provides the 'sourcePath' property name.- See Also:
- Constant Field Values
-
TYPE_PROPERTY
public static final String TYPE_PROPERTY
Provides the 'type' property name.- See Also:
- Constant Field Values
-
LIBRARY_PROPERTY
public static final String LIBRARY_PROPERTY
Provides the 'library' relationship name.- See Also:
- Constant Field Values
-
LIBRARY_RESOURCE_DATA_PROPERTY
public static final String LIBRARY_RESOURCE_DATA_PROPERTY
Provides the 'libraryResourceData' relationship name.- See Also:
- Constant Field Values
-
LIBRARY_RESOURCE_HISTORY_PROPERTY
public static final String LIBRARY_RESOURCE_HISTORY_PROPERTY
Provides the 'libraryResourceHistory' relationship name.- See Also:
- Constant Field Values
-
LIBRARY_RESOURCE_OID_PK_COLUMN
public static final String LIBRARY_RESOURCE_OID_PK_COLUMN
Provides the 'library_resource_oid' primary key database column name.- See Also:
- Constant Field Values
-
BINARY_DATA_FLAG
public static final org.apache.cayenne.exp.Property<Boolean> BINARY_DATA_FLAG
Provides the 'BINARY_DATA_FLAG' property.
-
CREATED_AT
public static final org.apache.cayenne.exp.Property<Date> CREATED_AT
Provides the 'CREATED_AT' property.
-
CREATED_BY
public static final org.apache.cayenne.exp.Property<String> CREATED_BY
Provides the 'CREATED_BY' property.
-
FILE_NAME
public static final org.apache.cayenne.exp.Property<String> FILE_NAME
Provides the 'FILE_NAME' property.
-
FILE_SIZE
public static final org.apache.cayenne.exp.Property<Integer> FILE_SIZE
Provides the 'FILE_SIZE' property.
-
FOLDER_PATH
public static final org.apache.cayenne.exp.Property<String> FOLDER_PATH
Provides the 'FOLDER_PATH' property.
-
LAST_MODIFIED_AT
public static final org.apache.cayenne.exp.Property<Date> LAST_MODIFIED_AT
Provides the 'LAST_MODIFIED_AT' property.
-
LAST_MODIFIED_BY
public static final org.apache.cayenne.exp.Property<String> LAST_MODIFIED_BY
Provides the 'LAST_MODIFIED_BY' property.
-
MD5HASH
public static final org.apache.cayenne.exp.Property<String> MD5HASH
Provides the 'MD5HASH' property.
-
MIME_TYPE
public static final org.apache.cayenne.exp.Property<String> MIME_TYPE
Provides the 'MIME_TYPE' property.
-
PATH
public static final org.apache.cayenne.exp.Property<String> PATH
Provides the 'PATH' property.
-
SOURCE_PATH
public static final org.apache.cayenne.exp.Property<String> SOURCE_PATH
Provides the 'SOURCE_PATH' property.
-
TYPE
public static final org.apache.cayenne.exp.Property<String> TYPE
Provides the 'TYPE' property.
-
LIBRARY
public static final org.apache.cayenne.exp.Property<Library> LIBRARY
Provides the 'LIBRARY' property.
-
LIBRARY_RESOURCE_DATA
public static final org.apache.cayenne.exp.Property<LibraryResourceData> LIBRARY_RESOURCE_DATA
Provides the 'LIBRARY_RESOURCE_DATA' property.
-
LIBRARY_RESOURCE_HISTORY
public static final org.apache.cayenne.exp.Property<List<LibraryResourceHistory>> LIBRARY_RESOURCE_HISTORY
Provides the 'LIBRARY_RESOURCE_HISTORY' property.
-
-
Method Detail
-
setBinaryDataFlag
public void setBinaryDataFlag(boolean binaryDataFlag)
Set the binaryDataFlag value.- Parameters:
binaryDataFlag
- the binaryDataFlag value to set
-
isBinaryDataFlag
public boolean isBinaryDataFlag()
Return the binaryDataFlag value.- Returns:
- binaryDataFlag the binaryDataFlag value
-
setCreatedAt
public void setCreatedAt(Date createdAt)
Set the createdAt value.- Parameters:
createdAt
- the createdAt value to set
-
getCreatedAt
public Date getCreatedAt()
Return the createdAt value.- Returns:
- createdAt the createdAt value
-
setCreatedBy
public void setCreatedBy(String createdBy)
Set the createdBy value.- Parameters:
createdBy
- the createdBy value to set
-
getCreatedBy
public String getCreatedBy()
Return the createdBy value.- Returns:
- createdBy the createdBy value
-
setFileName
public void setFileName(String fileName)
Set the fileName value.- Parameters:
fileName
- the fileName value to set
-
getFileName
public String getFileName()
Return the fileName value.- Returns:
- fileName the fileName value
-
setFileSize
public void setFileSize(Integer fileSize)
Set the fileSize value.- Parameters:
fileSize
- the fileSize value to set
-
getFileSize
public Integer getFileSize()
Return the fileSize value.- Returns:
- fileSize the fileSize value
-
setFolderPath
public void setFolderPath(String folderPath)
Set the folderPath value.- Parameters:
folderPath
- the folderPath value to set
-
getFolderPath
public String getFolderPath()
Return the folderPath value.- Returns:
- folderPath the folderPath value
-
setLastModifiedAt
public void setLastModifiedAt(Date lastModifiedAt)
Set the lastModifiedAt value.- Parameters:
lastModifiedAt
- the lastModifiedAt value to set
-
getLastModifiedAt
public Date getLastModifiedAt()
Return the lastModifiedAt value.- Returns:
- lastModifiedAt the lastModifiedAt value
-
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
Set the lastModifiedBy value.- Parameters:
lastModifiedBy
- the lastModifiedBy value to set
-
getLastModifiedBy
public String getLastModifiedBy()
Return the lastModifiedBy value.- Returns:
- lastModifiedBy the lastModifiedBy value
-
setMd5Hash
public void setMd5Hash(String md5Hash)
Set the md5Hash value.- Parameters:
md5Hash
- the md5Hash value to set
-
getMd5Hash
public String getMd5Hash()
Return the md5Hash value.- Returns:
- md5Hash the md5Hash value
-
setMimeType
public void setMimeType(String mimeType)
Set the mimeType value.- Parameters:
mimeType
- the mimeType value to set
-
getMimeType
public String getMimeType()
Return the mimeType value.- Returns:
- mimeType the mimeType value
-
setPath
public void setPath(String path)
Set the path value.- Parameters:
path
- the path value to set
-
getPath
public String getPath()
Return the path value.- Returns:
- path the path value
-
setSourcePath
public void setSourcePath(String sourcePath)
Set the sourcePath value.- Parameters:
sourcePath
- the sourcePath value to set
-
getSourcePath
public String getSourcePath()
Return the sourcePath value.- Returns:
- sourcePath the sourcePath value
-
setType
public void setType(String type)
Set the type value.- Parameters:
type
- the type value to set
-
getType
public String getType()
Return the type value.- Returns:
- type the type value
-
setLibrary
public void setLibrary(Library library)
Set the Library.- Parameters:
library
- the library value to set
-
getLibrary
public Library getLibrary()
Return the Library.- Returns:
- the library value
-
setLibraryResourceData
public void setLibraryResourceData(LibraryResourceData libraryResourceData)
Set the LibraryResourceData.- Parameters:
libraryResourceData
- the libraryResourceData value to set
-
getLibraryResourceData
public LibraryResourceData getLibraryResourceData()
Return the LibraryResourceData.- Returns:
- the libraryResourceData value
-
addToLibraryResourceHistory
public void addToLibraryResourceHistory(LibraryResourceHistory obj)
Add the LibraryResourceHistory object.- Parameters:
obj
- the libraryResourceHistory value to add
-
removeFromLibraryResourceHistory
public void removeFromLibraryResourceHistory(LibraryResourceHistory obj)
Remove the LibraryResourceHistory object.- Parameters:
obj
- the libraryResourceHistory value to remove
-
getLibraryResourceHistory
public List<LibraryResourceHistory> getLibraryResourceHistory()
Return the LibraryResourceHistory.- Returns:
- libraryResourceHistory value
-
-