Package com.example.metaschema
Class TargetedHasCardinalityConstraint
java.lang.Object
com.example.metaschema.TargetedHasCardinalityConstraint
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Targeted Cardinality Constraint",
name="targeted-has-cardinality-constraint",
moduleClass=MetaschemaModelModule.class)
public class TargetedHasCardinalityConstraint
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionTargetedHasCardinalityConstraint(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetId()getLevel()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidsetFormalName(String value) voidvoidvoidsetMaxOccurs(String value) voidsetMessage(String value) voidsetMinOccurs(BigInteger value) voidvoidsetRemarks(Remarks value) voidtoString()
-
Constructor Details
-
TargetedHasCardinalityConstraint
public TargetedHasCardinalityConstraint() -
TargetedHasCardinalityConstraint
public TargetedHasCardinalityConstraint(gov.nist.secauto.metaschema.core.model.IMetaschemaData data)
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
getMinOccurs
-
setMinOccurs
-
getMaxOccurs
-
setMaxOccurs
-
getTarget
-
setTarget
-
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
-
getMessage
-
setMessage
-
getRemarks
-
setRemarks
-
toString
-