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
ConstructorDescriptionTargetedHasCardinalityConstraint
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getId()
getLevel()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
setFormalName
(String value) void
void
void
setMaxOccurs
(String value) void
setMessage
(String value) void
setMinOccurs
(BigInteger value) void
void
setRemarks
(Remarks value) void
toString()
-
Constructor Details
-
TargetedHasCardinalityConstraint
public TargetedHasCardinalityConstraint() -
TargetedHasCardinalityConstraint
public TargetedHasCardinalityConstraint(gov.nist.secauto.metaschema.core.model.IMetaschemaData data)
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in 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 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
-
getMessage
-
setMessage
-
getRemarks
-
setRemarks
-
toString
-