Package com.example.metaschema
Class InlineDefineField
java.lang.Object
com.example.metaschema.InlineDefineField
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Inline Field Definition",
name="inline-define-field",
moduleClass=MetaschemaModelModule.class)
public class InlineDefineField
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorDescriptionInlineDefineField
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
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()
getInXml()
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
setExamples
(List<Example> value) void
void
setFormalName
(String value) void
setGroupAs
(GroupAs value) void
setIndex
(BigInteger value) void
void
setJsonKey
(JsonKey value) void
setJsonValueKey
(String value) void
void
setMaxOccurs
(String value) void
setMinOccurs
(BigInteger value) void
void
void
setRemarks
(Remarks value) toString()
-
Constructor Details
-
InlineDefineField
public InlineDefineField() -
InlineDefineField
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getName
-
setName
-
getIndex
-
setIndex
-
getDeprecated
-
setDeprecated
-
getAsType
-
setAsType
-
getDefault
-
setDefault
-
getMinOccurs
-
setMinOccurs
-
getMaxOccurs
-
setMaxOccurs
-
getInXml
-
setInXml
-
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
-
getJsonKey
-
setJsonKey
-
getJsonValueKey
-
setJsonValueKey
-
getJsonValueKeyFlag
-
setJsonValueKeyFlag
-
getGroupAs
-
setGroupAs
-
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
-