Package gov.niem.tools.api.db.steward
Class Steward
java.lang.Object
gov.niem.tools.api.db.base.BaseEntity
gov.niem.tools.api.db.steward.Steward
- All Implemented Interfaces:
Serializable,Comparable<Steward>
A program, group, or other entity responsible for managing NIEM content.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGeneral kinds of stewards, such as Federal, State, Local, Industry, Nonprofit, etc. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCustom sorting function for stewards.A kind of NIEM entity, such as a Namespace or a Property.A human-readable and url-friendly unique identifier for an entity.An identifier, unique within its immediate scope.getModelOptional(String modelKey) Get a model belonging to the steward with the given model key.Gets a sorted list of models that are under the authority of this steward.Route to the NIEM steward.An immediate entity or scope to which this entity belongs.getRoute()An endpoint to get information about an entity.getTitle()A descriptive label or title used to identify an entity.Get key fields about a steward.
-
Field Details
-
niemStewardKey
- See Also:
-
-
Constructor Details
-
Steward
-
-
Method Details
-
getParentEntity
Description copied from class:BaseEntityAn immediate entity or scope to which this entity belongs. Examples include a steward (parent) for a model or a namespace (parent) for a property or type.- Specified by:
getParentEntityin classBaseEntity
-
getRoute
Description copied from class:BaseEntityAn endpoint to get information about an entity.- Specified by:
getRoutein classBaseEntity
-
getClassName
Description copied from class:BaseEntityA kind of NIEM entity, such as a Namespace or a Property.- Overrides:
getClassNamein classBaseEntity
-
getIdLabel
Description copied from class:BaseEntityA human-readable and url-friendly unique identifier for an entity.- Specified by:
getIdLabelin classBaseEntity
-
getIdLocalLabel
Description copied from class:BaseEntityAn identifier, unique within its immediate scope. Examples include a prefix (uniquely identifying a namespace) or a qualified name (uniquely identifying a property or a type) within a version of a model.- Specified by:
getIdLocalLabelin classBaseEntity
-
getTitle
Description copied from class:BaseEntityA descriptive label or title used to identify an entity.- Specified by:
getTitlein classBaseEntity
-
getNiemRoute
Route to the NIEM steward. -
getModelOptional
Get a model belonging to the steward with the given model key. -
toSummary
Get key fields about a steward. -
getModels
Gets a sorted list of models that are under the authority of this steward. Makes sure potential Hibernate proxies are initialized. -
compareTo
Custom sorting function for stewards. Return the NIEM steward first, followed by stewards sorted by steward key.- Specified by:
compareToin interfaceComparable<Steward>
-