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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanaddExample(Example item) Add a newExampleitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetFlags()getIndex()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetName()getProps()booleanremoveExample(Example item) Remove the first matchingExampleitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidvoidsetConstraint(FieldConstraints value) voidsetDefault(String value) voidsetDeprecated(String value) voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidsetDiscriminatorValue(String value) voidsetExamples(List<Example> value) voidvoidsetFormalName(String value) voidsetIndex(BigInteger value) voidsetJsonValueKey(String value) voidvoidvoidvoidsetRemarks(Remarks value) toString() 
- 
Constructor Details
- 
DefineField
public DefineField() - 
DefineField
 
 - 
 - 
Method Details
- 
getMetaschemaData
- Specified by:
 getMetaschemaDatain 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 newPropertyitem to the underlying collection.- Parameters:
 item- the item to add- Returns:
 true
 - 
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
 item- the item to remove- Returns:
 trueif the item was removed orfalseotherwise
 - 
getDiscriminatorValue
 - 
setDiscriminatorValue
 - 
getJsonValueKey
 - 
setJsonValueKey
 - 
getJsonValueKeyFlag
 - 
setJsonValueKeyFlag
 - 
getFlags
 - 
setFlags
 - 
getConstraint
 - 
setConstraint
 - 
getRemarks
 - 
setRemarks
 - 
getExamples
 - 
setExamples
 - 
addExample
Add a newExampleitem to the underlying collection.- Parameters:
 item- the item to add- Returns:
 true
 - 
removeExample
Remove the first matchingExampleitem from the underlying collection.- Parameters:
 item- the item to remove- Returns:
 trueif the item was removed orfalseotherwise
 - 
toString
 
 -