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
ConstructorDescriptionTargetedIsUniqueConstraint
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newKeyConstraintField
item to the underlying collection.boolean
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
Remove the first matchingKeyConstraintField
item from the underlying collection.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
setKeyFields
(List<KeyConstraintField> value) void
void
setMessage
(String value) void
void
setRemarks
(Remarks value) void
toString()
-
Constructor Details
-
TargetedIsUniqueConstraint
public TargetedIsUniqueConstraint() -
TargetedIsUniqueConstraint
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
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
-
getKeyFields
-
setKeyFields
-
addKeyField
Add a newKeyConstraintField
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeKeyField
Remove the first matchingKeyConstraintField
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
-