Package gov.niem.tools.api.db.property
Class Property.PropertyBuilder<C extends Property,B extends Property.PropertyBuilder<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.base.BaseModelEntity.BaseModelEntityBuilder<C,B>
gov.niem.tools.api.db.base.BaseVersionEntity.BaseVersionEntityBuilder<Property,C,B>
gov.niem.tools.api.db.base.BaseNamespaceEntity.BaseNamespaceEntityBuilder<Property,C,B>
gov.niem.tools.api.db.component.Component.ComponentBuilder<Property,C,B>
gov.niem.tools.api.db.property.Property.PropertyBuilder<C,B>
- Enclosing class:
Property
public abstract static class Property.PropertyBuilder<C extends Property,B extends Property.PropertyBuilder<C,B>>
extends Component.ComponentBuilder<Property,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
category
(Property.Category category) A kind of property.exampleContent
(String exampleContent) A substitution group head, which may be replaced in message instances by this property.protected abstract B
self()
subproperties
(Set<Subproperty> subproperties) substitutions
(Set<Property> substitutions) toString()
A type that describes the structure and value set of the property.Methods inherited from class gov.niem.tools.api.db.component.Component.ComponentBuilder
definition, name, namespace, prefix, qname
Methods inherited from class gov.niem.tools.api.db.base.BaseVersionEntity.BaseVersionEntityBuilder
isDeprecated, next, original, prev
Methods inherited from class gov.niem.tools.api.db.base.BaseEntity.BaseEntityBuilder
createdBy, createdDate, id, lastModifiedBy, lastModifiedDate
-
Constructor Details
-
PropertyBuilder
public PropertyBuilder()
-
-
Method Details
-
type
A type that describes the structure and value set of the property.- Returns:
this
.
-
group
A substitution group head, which may be replaced in message instances by this property.- Returns:
this
.
-
category
A kind of property.- Returns:
this
.
-
alias
- Returns:
this
.
-
keywords
- Returns:
this
.
-
exampleContent
- Returns:
this
.
-
usageInfo
- Returns:
this
.
-
substitutions
- Returns:
this
.
-
subproperties
- Returns:
this
.
-
self
- Specified by:
self
in classComponent.ComponentBuilder<Property,
C extends Property, B extends Property.PropertyBuilder<C, B>>
-
build
- Specified by:
build
in classComponent.ComponentBuilder<Property,
C extends Property, B extends Property.PropertyBuilder<C, B>>
-
toString
- Overrides:
toString
in classComponent.ComponentBuilder<Property,
C extends Property, B extends Property.PropertyBuilder<C, B>>
-