public class TypedProperty
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TypedProperty.Builder |
static class |
TypedProperty.Type |
Modifier and Type | Method and Description |
---|---|
TypedProperty |
addConstraint(PropertyConstraintType type,
java.lang.Object argument) |
boolean |
evaluateConstraints(java.util.Collection<java.lang.String> publishedVariableNames)
Evaluates whether all defined constraints are met.
|
java.util.Collection<TypedPropertyConstraint> |
getConstraints() |
java.lang.String |
getDescription() |
java.util.Map<java.lang.String,java.lang.String> |
getEnumeration() |
java.lang.String |
getId() |
java.lang.String |
getName() |
TypedProperty.Type |
getType() |
boolean |
hasConstraintValue(PropertyConstraintType type,
java.lang.Object value) |
boolean |
hasConstraintValues() |
boolean |
hasEnumeration() |
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getDescription()
public TypedProperty.Type getType()
public java.util.Map<java.lang.String,java.lang.String> getEnumeration()
public java.util.Collection<TypedPropertyConstraint> getConstraints()
public TypedProperty addConstraint(PropertyConstraintType type, java.lang.Object argument)
public boolean hasConstraintValues()
public boolean hasConstraintValue(PropertyConstraintType type, java.lang.Object value)
public boolean hasEnumeration()
public boolean evaluateConstraints(java.util.Collection<java.lang.String> publishedVariableNames)
publishedVariableNames
- a list of all published variable namesCopyright © 2015 Whizzo Software LLC. All rights reserved.