Package com.avoka.fc.core.entity
Class Library
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._Library
com.avoka.fc.core.entity.Library
- All Implemented Interfaces:
IEntity
,Auditable
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides a resource library entity used in Maestro.
- Since:
- 4.0.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThe set of valid library types.static final String
The type for libraries associated with a form design versionstatic final String
The type for libraries associated with an organizationstatic final String
The type for libraries associated with a projectstatic final String
The type for libraries associated with a release versionstatic final String
The default version number if none is specifiedFields inherited from class com.avoka.fc.core.entity.auto._Library
CLIENT, CLIENT_PROPERTY, CREATED_AT, CREATED_AT_PROPERTY, CREATED_BY, CREATED_BY_PROPERTY, DESCRIPTION, DESCRIPTION_PROPERTY, FORM_DESIGN_VERSION, FORM_DESIGN_VERSION_INCLUDES, FORM_DESIGN_VERSION_INCLUDES_PROPERTY, FORM_DESIGN_VERSION_PROPERTY, LAST_MODIFIED_AT, LAST_MODIFIED_AT_PROPERTY, LAST_MODIFIED_BY, LAST_MODIFIED_BY_PROPERTY, LIBRARY_OID_PK_COLUMN, LIBRARY_RESOURCES, LIBRARY_RESOURCES_PROPERTY, LIBRARY_SHARES, LIBRARY_SHARES_PROPERTY, NAME, NAME_NORMALIZED, NAME_NORMALIZED_PROPERTY, NAME_PROPERTY, PROJECT, PROJECT_INCLUDES, PROJECT_INCLUDES_PROPERTY, PROJECT_PROPERTY, READ_ONLY_FLAG, READ_ONLY_FLAG_PROPERTY, RELEASE_MAX_VERSION, RELEASE_MAX_VERSION_PROPERTY, RELEASE_MIN_VERSION, RELEASE_MIN_VERSION_PROPERTY, RELEASE_VERSION, RELEASE_VERSION_PROPERTY, SHARE_GLOBAL_FLAG, SHARE_GLOBAL_FLAG_PROPERTY, TM_MIN_VERSION, TM_MIN_VERSION_PROPERTY, TYPE, TYPE_PROPERTY, VERSION_NUMBER, VERSION_NUMBER_PROPERTY
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return whether the library is of typeTYPE_FORM_DESIGN_VERSION
boolean
Return whether the library is of typeTYPE_ORGANIZATION
boolean
Return whether the library is of typeTYPE_PROJECT
boolean
Return whether the library is of typeTYPE_RELEASE
Methods inherited from class com.avoka.fc.core.entity.auto._Library
addToFormDesignVersionIncludes, addToLibraryResources, addToLibraryShares, addToProjectIncludes, getClient, getCreatedAt, getCreatedBy, getDescription, getFormDesignVersion, getFormDesignVersionIncludes, getLastModifiedAt, getLastModifiedBy, getLibraryResources, getLibraryShares, getName, getNameNormalized, getProject, getProjectIncludes, getReleaseMaxVersion, getReleaseMinVersion, getReleaseVersion, getTmMinVersion, getType, getVersionNumber, isReadOnlyFlag, isShareGlobalFlag, removeFromFormDesignVersionIncludes, removeFromLibraryResources, removeFromLibraryShares, removeFromProjectIncludes, setClient, setCreatedAt, setCreatedBy, setDescription, setFormDesignVersion, setLastModifiedAt, setLastModifiedBy, setName, setNameNormalized, setProject, setReadOnlyFlag, setReleaseMaxVersion, setReleaseMinVersion, setReleaseVersion, setShareGlobalFlag, setTmMinVersion, setType, setVersionNumber
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.avoka.fc.core.entity.Auditable
getId, getValuesMap
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
TYPE_RELEASE
The type for libraries associated with a release version- See Also:
-
TYPE_ORGANIZATION
The type for libraries associated with an organization- See Also:
-
TYPE_PROJECT
The type for libraries associated with a project- See Also:
-
TYPE_FORM_DESIGN_VERSION
The type for libraries associated with a form design version- See Also:
-
LIBRARY_TYPES
The set of valid library types. -
VERSION_NUMBER_DEFAULT
The default version number if none is specified- See Also:
-
-
Constructor Details
-
Library
public Library()
-
-
Method Details
-
isTypeRelease
public boolean isTypeRelease()Return whether the library is of typeTYPE_RELEASE
- Returns:
- true if the library is of type
TYPE_RELEASE
-
isTypeOrganization
public boolean isTypeOrganization()Return whether the library is of typeTYPE_ORGANIZATION
- Returns:
- true if the library is of type
TYPE_ORGANIZATION
-
isTypeProject
public boolean isTypeProject()Return whether the library is of typeTYPE_PROJECT
- Returns:
- true if the library is of type
TYPE_PROJECT
-
isTypeFormDesignVersion
public boolean isTypeFormDesignVersion()Return whether the library is of typeTYPE_FORM_DESIGN_VERSION
- Returns:
- true if the library is of type
TYPE_FORM_DESIGN_VERSION
-