Package com.example.metaschema
Class TargetedMatchesConstraint
java.lang.Object
com.example.metaschema.TargetedMatchesConstraint
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Value Matches Constraint",
name="targeted-matches-constraint",
moduleClass=MetaschemaModelModule.class)
public class TargetedMatchesConstraint
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorDescriptionTargetedMatchesConstraint
(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()
getRegex()
boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
setDatatype
(String value) void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
setFormalName
(String value) void
void
void
setMessage
(String value) void
void
void
setRemarks
(Remarks value) void
toString()
-
Constructor Details
-
TargetedMatchesConstraint
public TargetedMatchesConstraint() -
TargetedMatchesConstraint
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
getRegex
-
setRegex
-
getDatatype
-
setDatatype
-
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
-