Package gov.niem.tools.api.db.steward
Class Steward.StewardBuilder<C extends Steward,B extends Steward.StewardBuilder<C,B>>
java.lang.Object
gov.niem.tools.api.db.base.BaseEntity.BaseEntityBuilder<C,B>
gov.niem.tools.api.db.steward.Steward.StewardBuilder<C,B>
- Enclosing class:
Steward
public abstract static class Steward.StewardBuilder<C extends Steward,B extends Steward.StewardBuilder<C,B>>
extends BaseEntity.BaseEntityBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA complete address.abstract C
build()
category
(Steward.Category category) A kind of steward.contactName
(String contactName) A name of the person to be contacted.country
(CountryAlpha3CodeType country) A country, territory, dependency, or other such geopolitical subdivision of a location.description
(String description) A description of an organization.An electronic mailing address by which a person or organization may be contacted.A name of an organization.A set of models which belong to the steward.A complete telephone number.protected abstract B
self()
A short name or acronym used to identify a steward.stewardKey
(String stewardKey) A human-readable and url-friendly steward identifier generated from the shortName field.A name of a subdivision of an organization.toString()
A name of a high-level division of an organization.A website address by which a person or organization may be contacted.Methods inherited from class gov.niem.tools.api.db.base.BaseEntity.BaseEntityBuilder
createdBy, createdDate, id, lastModifiedBy, lastModifiedDate
-
Constructor Details
-
StewardBuilder
public StewardBuilder()
-
-
Method Details
-
stewardKey
A human-readable and url-friendly steward identifier generated from the shortName field.- Returns:
this
.
-
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.- Returns:
this
.
-
fullName
A name of an organization.- Returns:
this
.
-
category
A kind of steward.- Returns:
this
.
-
description
A description of an organization.- Returns:
this
.
-
contactName
A name of the person to be contacted.- Returns:
this
.
-
website
A website address by which a person or organization may be contacted.- Returns:
this
.
-
email
An electronic mailing address by which a person or organization may be contacted.- Returns:
this
.
-
phone
A complete telephone number.- Returns:
this
.
-
address
A complete address.- Returns:
this
.
-
country
A country, territory, dependency, or other such geopolitical subdivision of a location.- Returns:
this
.
-
unit
A name of a high-level division of an organization.- Returns:
this
.
-
subunit
A name of a subdivision of an organization.- Returns:
this
.
-
models
A set of models which belong to the steward.- Returns:
this
.
-
self
- Specified by:
self
in classBaseEntity.BaseEntityBuilder<C extends Steward,
B extends Steward.StewardBuilder<C, B>>
-
build
- Specified by:
build
in classBaseEntity.BaseEntityBuilder<C extends Steward,
B extends Steward.StewardBuilder<C, B>>
-
toString
- Overrides:
toString
in classBaseEntity.BaseEntityBuilder<C extends Steward,
B extends Steward.StewardBuilder<C, B>>
-