Package com.example.metaschema
Class TargetedIndexHasKeyConstraint
java.lang.Object
com.example.metaschema.TargetedIndexHasKeyConstraint
- All Implemented Interfaces:
 gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Targeted Index Has Key Constraint",
                    name="targeted-index-has-key-constraint",
                    moduleClass=MetaschemaModelModule.class)
public class TargetedIndexHasKeyConstraint
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
- 
Constructor Summary
ConstructorsConstructorDescriptionTargetedIndexHasKeyConstraint(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
- 
TargetedIndexHasKeyConstraint
public TargetedIndexHasKeyConstraint() - 
TargetedIndexHasKeyConstraint
 
 - 
 - 
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
 
 -