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
A program, group, or other entity responsible for managing NIEM content.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
General kinds of stewards, such as Federal, State, Local, Industry, Nonprofit, etc.static class
Steward.StewardBuilder<C extends Steward,
B extends Steward.StewardBuilder<C, B>> Nested classes/interfaces inherited from class gov.niem.tools.api.db.base.BaseEntity
BaseEntity.BaseEntityBuilder<C extends BaseEntity,
B extends BaseEntity.BaseEntityBuilder<C, B>> -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionSteward()
protected
Steward
(Steward.StewardBuilder<?, ?> b) Steward
(String stewardKey, String shortName, String fullName, Steward.Category category, String description, String contactName, String website, String email, String phone, String address, CountryAlpha3CodeType country, String unit, String subunit, Set<Model> models) Creates a newSteward
instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic Steward.StewardBuilder
<?, ?> builder()
protected boolean
boolean
A complete address.A kind of steward.A kind of NIEM entity, such as a Namespace or a Property.A name of the person to be contacted.A country, territory, dependency, or other such geopolitical subdivision of a location.A description of an organization.getEmail()
An electronic mailing address by which a person or organization may be contacted.A human-readable and url-friendly unique identifier for an entity.A name of an organization.An identifier, unique within its immediate scope.getModelOptional
(String modelKey) Get a model belonging to the steward with the given model key.A set of models which belong to the steward.Route to the NIEM steward.An immediate entity or scope to which this entity belongs.getPhone()
A complete telephone number.getRoute()
An endpoint to get information about an entity.A short name or acronym used to identify a steward.A human-readable and url-friendly steward identifier generated from the shortName field.A name of a subdivision of an organization.getTitle()
A descriptive label or title used to identify an entity.getUnit()
A name of a high-level division of an organization.A website address by which a person or organization may be contacted.int
hashCode()
void
setAddress
(String address) A complete address.void
setCategory
(Steward.Category category) A kind of steward.void
setContactName
(String contactName) A name of the person to be contacted.void
setCountry
(CountryAlpha3CodeType country) A country, territory, dependency, or other such geopolitical subdivision of a location.void
setDescription
(String description) A description of an organization.void
An electronic mailing address by which a person or organization may be contacted.void
setFullName
(String fullName) A name of an organization.void
A set of models which belong to the steward.void
A complete telephone number.void
setShortName
(String shortName) A short name or acronym used to identify a steward.void
setStewardKey
(String stewardKey) A human-readable and url-friendly steward identifier generated from the shortName field.void
setSubunit
(String subunit) A name of a subdivision of an organization.void
A name of a high-level division of an organization.void
setWebsite
(String website) A website address by which a person or organization may be contacted.toString()
Get key fields about a steward.Methods inherited from class gov.niem.tools.api.db.base.BaseEntity
getCreatedBy, getCreatedDate, getId, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setId, setLastModifiedBy, setLastModifiedDate
-
Field Details
-
niemStewardKey
- See Also:
-
-
Constructor Details
-
Steward
-
Steward
-
Steward
public Steward() -
Steward
public Steward(String stewardKey, String shortName, String fullName, Steward.Category category, String description, String contactName, String website, String email, String phone, String address, CountryAlpha3CodeType country, String unit, String subunit, Set<Model> models) Creates a newSteward
instance.- Parameters:
stewardKey
- A human-readable and url-friendly steward identifier generated from the shortName field.shortName
- A short name or acronym used to identify a steward. This could be the name of an organization or unit, a program name, or other kind of authoritative source.fullName
- A name of an organization.category
- A kind of steward.description
- A description of an organization.contactName
- A name of the person to be contacted.website
- A website address by which a person or organization may be contacted.email
- An electronic mailing address by which a person or organization may be contacted.phone
- A complete telephone number.address
- A complete address.country
- A country, territory, dependency, or other such geopolitical subdivision of a location.unit
- A name of a high-level division of an organization.subunit
- A name of a subdivision of an organization.models
- A set of models which belong to the steward.
-
-
Method Details
-
getParentEntity
Description copied from class:BaseEntity
An 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:
getParentEntity
in classBaseEntity
-
getRoute
Description copied from class:BaseEntity
An endpoint to get information about an entity.- Specified by:
getRoute
in classBaseEntity
-
getClassName
Description copied from class:BaseEntity
A kind of NIEM entity, such as a Namespace or a Property.- Overrides:
getClassName
in classBaseEntity
-
getFullIdentifier
Description copied from class:BaseEntity
A human-readable and url-friendly unique identifier for an entity.- Specified by:
getFullIdentifier
in classBaseEntity
-
getLocalIdentifier
Description copied from class:BaseEntity
An 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:
getLocalIdentifier
in classBaseEntity
-
getTitle
Description copied from class:BaseEntity
A descriptive label or title used to identify an entity.- Specified by:
getTitle
in 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. -
builder
-
getStewardKey
A human-readable and url-friendly steward identifier generated from the shortName field. -
getShortName
A short name or acronym used to identify a steward. This could be the name of an organization or unit, a program name, or other kind of authoritative source. -
getFullName
A name of an organization. -
getCategory
A kind of steward. -
getDescription
A description of an organization. -
getContactName
A name of the person to be contacted. -
getWebsite
A website address by which a person or organization may be contacted. -
getEmail
An electronic mailing address by which a person or organization may be contacted. -
getPhone
A complete telephone number. -
getAddress
A complete address. -
getCountry
A country, territory, dependency, or other such geopolitical subdivision of a location. -
getUnit
A name of a high-level division of an organization. -
getSubunit
A name of a subdivision of an organization. -
getModels
A set of models which belong to the steward. -
setStewardKey
A human-readable and url-friendly steward identifier generated from the shortName field. -
setShortName
A short name or acronym used to identify a steward. This could be the name of an organization or unit, a program name, or other kind of authoritative source. -
setFullName
A name of an organization. -
setCategory
A kind of steward. -
setDescription
A description of an organization. -
setContactName
A name of the person to be contacted. -
setWebsite
A website address by which a person or organization may be contacted. -
setEmail
An electronic mailing address by which a person or organization may be contacted. -
setPhone
A complete telephone number. -
setAddress
A complete address. -
setCountry
A country, territory, dependency, or other such geopolitical subdivision of a location. -
setUnit
A name of a high-level division of an organization. -
setSubunit
A name of a subdivision of an organization. -
setModels
A set of models which belong to the steward. -
toString
- Overrides:
toString
in classBaseEntity
-
equals
- Overrides:
equals
in classBaseEntity
-
canEqual
- Overrides:
canEqual
in classBaseEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseEntity
-