Package gov.niem.tools.api.db.model
Class Model.ModelBuilder<C extends Model,B extends Model.ModelBuilder<C,B>>
java.lang.Object
gov.niem.tools.api.db.base.BaseEntity.BaseEntityBuilder<C,B>
gov.niem.tools.api.db.base.BaseStewardEntity.BaseStewardEntityBuilder<C,B>
gov.niem.tools.api.db.model.Model.ModelBuilder<C,B>
- Enclosing class:
Model
public abstract static class Model.ModelBuilder<C extends Model,B extends Model.ModelBuilder<C,B>>
extends BaseStewardEntity.BaseStewardEntityBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
category
(Model.Category category) A kind of data model.description
(String description) A description of a model.A name of an organization or person that developed a model.A full name used to identify a model.A common alias, term, or phrase that would help to facilitate search and discovery of this IEPD.A human-readable and url-friendly model identifier generated from the shortName field, unique within the set of models owned by its steward.objective
(Model.Objective objective) An intended use for a model, such as for actual implementation or for testing tool features or IEPD / message specification features.A description of the intended usage and reason for which an IEPD exists.A code repository which hosts full IEPDs or message specifications representing the model.protected abstract B
self()
A short name or acronym used to identify a model.A steward responsible for the management of the model.A description of the environment or NIEM Domain in which this IEPD is applicable or used.toString()
A set of versions defined by a model.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
-
ModelBuilder
public ModelBuilder()
-
-
Method Details
-
steward
A steward responsible for the management of the model.- Returns:
this
.
-
modelKey
A human-readable and url-friendly model identifier generated from the shortName field, unique within the set of models owned by its steward.- Returns:
this
.
-
shortName
A short name or acronym used to identify a model.- Returns:
this
.
-
fullName
A full name used to identify a model.- Returns:
this
.
-
description
A description of a model.- Returns:
this
.
-
website
A website address by which a person or organization may be contacted.- Returns:
this
.
-
repo
A code repository which hosts full IEPDs or message specifications representing the model.- Returns:
this
.
-
keywords
A common alias, term, or phrase that would help to facilitate search and discovery of this IEPD.- Returns:
this
.
-
subjects
A description of the environment or NIEM Domain in which this IEPD is applicable or used.- Returns:
this
.
-
purpose
A description of the intended usage and reason for which an IEPD exists.- Returns:
this
.
-
developer
A name of an organization or person that developed a model.- Returns:
this
.
-
category
A kind of data model.- Returns:
this
.
-
objective
An intended use for a model, such as for actual implementation or for testing tool features or IEPD / message specification features.- Returns:
this
.
-
versions
A set of versions defined by a model.- Returns:
this
.
-
self
- Specified by:
self
in classBaseStewardEntity.BaseStewardEntityBuilder<C extends Model,
B extends Model.ModelBuilder<C, B>>
-
build
- Specified by:
build
in classBaseStewardEntity.BaseStewardEntityBuilder<C extends Model,
B extends Model.ModelBuilder<C, B>>
-
toString
- Overrides:
toString
in classBaseStewardEntity.BaseStewardEntityBuilder<C extends Model,
B extends Model.ModelBuilder<C, B>>
-