Package com.example.metaschema
Class TargetedIndexConstraint
java.lang.Object
com.example.metaschema.TargetedIndexConstraint
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Targeted Index Constraint",
name="targeted-index-constraint",
moduleClass=MetaschemaModelModule.class)
public class TargetedIndexConstraint
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionTargetedIndexConstraint(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.IMetaschemaDatagetName()getProps()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) voidvoidvoidsetRemarks(Remarks value) voidtoString()
-
Constructor Details
-
TargetedIndexConstraint
public TargetedIndexConstraint() -
TargetedIndexConstraint
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
getName
-
setName
-
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
-