Package com.example.metaschema
Class AssemblyModel.ChoiceGroup.DefineField
java.lang.Object
com.example.metaschema.AssemblyModel.ChoiceGroup.DefineField
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- AssemblyModel.ChoiceGroup
@MetaschemaAssembly(formalName="Inline Field Definition",
name="define-field",
moduleClass=MetaschemaModelModule.class)
public static class AssemblyModel.ChoiceGroup.DefineField
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addExample
(Example item) Add a newExample
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getFlags()
getIndex()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getName()
getProps()
boolean
removeExample
(Example item) Remove the first matchingExample
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
void
setConstraint
(FieldConstraints value) void
setDefault
(String value) void
setDeprecated
(String value) void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
setDiscriminatorValue
(String value) void
setExamples
(List<Example> value) void
void
setFormalName
(String value) void
setIndex
(BigInteger value) void
setJsonValueKey
(String value) void
void
void
void
setRemarks
(Remarks value) toString()
-
Constructor Details
-
DefineField
public DefineField() -
DefineField
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getName
-
setName
-
getIndex
-
setIndex
-
getDeprecated
-
setDeprecated
-
getAsType
-
setAsType
-
getDefault
-
setDefault
-
getFormalName
-
setFormalName
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getDiscriminatorValue
-
setDiscriminatorValue
-
getJsonValueKey
-
setJsonValueKey
-
getJsonValueKeyFlag
-
setJsonValueKeyFlag
-
getFlags
-
setFlags
-
getConstraint
-
setConstraint
-
getRemarks
-
setRemarks
-
getExamples
-
setExamples
-
addExample
Add a newExample
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExample
Remove the first matchingExample
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-