Class Library

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
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:
  • Field Details

    • TYPE_RELEASE

      public static final String TYPE_RELEASE
      The type for libraries associated with a release version
      See Also:
    • TYPE_ORGANIZATION

      public static final String TYPE_ORGANIZATION
      The type for libraries associated with an organization
      See Also:
    • TYPE_PROJECT

      public static final String TYPE_PROJECT
      The type for libraries associated with a project
      See Also:
    • TYPE_FORM_DESIGN_VERSION

      public static final String TYPE_FORM_DESIGN_VERSION
      The type for libraries associated with a form design version
      See Also:
    • LIBRARY_TYPES

      public static final Set<String> LIBRARY_TYPES
      The set of valid library types.
    • VERSION_NUMBER_DEFAULT

      public static final String 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 type TYPE_RELEASE
      Returns:
      true if the library is of type TYPE_RELEASE
    • isTypeOrganization

      public boolean isTypeOrganization()
      Return whether the library is of type TYPE_ORGANIZATION
      Returns:
      true if the library is of type TYPE_ORGANIZATION
    • isTypeProject

      public boolean isTypeProject()
      Return whether the library is of type TYPE_PROJECT
      Returns:
      true if the library is of type TYPE_PROJECT
    • isTypeFormDesignVersion

      public boolean isTypeFormDesignVersion()
      Return whether the library is of type TYPE_FORM_DESIGN_VERSION
      Returns:
      true if the library is of type TYPE_FORM_DESIGN_VERSION