Package com.example.metaschema
Class TargetedIsUniqueConstraint
java.lang.Object
com.example.metaschema.TargetedIsUniqueConstraint
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Targeted Unique Constraint",
name="targeted-is-unique-constraint",
moduleClass=MetaschemaModelModule.class)
public class TargetedIsUniqueConstraint
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionTargetedIsUniqueConstraint(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newKeyConstraintFielditem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetId()getLevel()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()booleanRemove the first matchingKeyConstraintFielditem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidsetFormalName(String value) voidvoidsetKeyFields(List<KeyConstraintField> value) voidvoidsetMessage(String value) voidvoidsetRemarks(Remarks value) voidtoString()
-
Constructor Details
-
TargetedIsUniqueConstraint
public TargetedIsUniqueConstraint() -
TargetedIsUniqueConstraint
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
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
-
getKeyFields
-
setKeyFields
-
addKeyField
Add a newKeyConstraintFielditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeKeyField
Remove the first matchingKeyConstraintFielditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getMessage
-
setMessage
-
getRemarks
-
setRemarks
-
toString
-