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
public class Library extends _Library implements Auditable
Provides a resource library entity used in Maestro.- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Set<String>
LIBRARY_TYPES
The set of valid library types.static String
TYPE_FORM_DESIGN_VERSION
The type for libraries associated with a form design versionstatic String
TYPE_ORGANIZATION
The type for libraries associated with an organizationstatic String
TYPE_PROJECT
The type for libraries associated with a projectstatic String
TYPE_RELEASE
The type for libraries associated with a release versionstatic String
VERSION_NUMBER_DEFAULT
The default version number if none is specified-
Fields 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
-
-
Constructor Summary
Constructors Constructor Description Library()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTypeFormDesignVersion()
Return whether the library is of typeTYPE_FORM_DESIGN_VERSION
boolean
isTypeOrganization()
Return whether the library is of typeTYPE_ORGANIZATION
boolean
isTypeProject()
Return whether the library is of typeTYPE_PROJECT
boolean
isTypeRelease()
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
-
-
-
-
Field Detail
-
TYPE_RELEASE
public static final String TYPE_RELEASE
The type for libraries associated with a release version- See Also:
- Constant Field Values
-
TYPE_ORGANIZATION
public static final String TYPE_ORGANIZATION
The type for libraries associated with an organization- See Also:
- Constant Field Values
-
TYPE_PROJECT
public static final String TYPE_PROJECT
The type for libraries associated with a project- See Also:
- Constant Field Values
-
TYPE_FORM_DESIGN_VERSION
public static final String TYPE_FORM_DESIGN_VERSION
The type for libraries associated with a form design version- See Also:
- Constant Field Values
-
VERSION_NUMBER_DEFAULT
public static final String VERSION_NUMBER_DEFAULT
The default version number if none is specified- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-