public class PropertyContainerClass
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PropertyContainerClass(PropertyContainerClassContext context,
PropertyContainerClassType type) |
PropertyContainerClass(PropertyContainerClassContext context,
PropertyContainerClassType type,
java.util.List<TypedProperty> supportedProperties) |
Modifier and Type | Method and Description |
---|---|
void |
addSupportedProperty(TypedProperty property) |
boolean |
evaluatePropertyConstraints(java.util.Collection<java.lang.String> publishedVariableNames)
Evaluates whether all the property constraints associated with this property container class are met
(if they exist).
|
PropertyContainerClassContext |
getContext() |
java.util.Collection<TypedProperty> |
getSupportedProperties() |
TypedProperty |
getSupportedProperty(java.lang.String id) |
PropertyContainerClassType |
getType() |
boolean |
hasSupportedProperties() |
void |
setContext(PropertyContainerClassContext context) |
void |
setSupportedProperties(java.util.List<TypedProperty> supportedProperties) |
void |
validate(java.util.Map<java.lang.String,java.lang.Object> values) |
public PropertyContainerClass(PropertyContainerClassContext context, PropertyContainerClassType type)
public PropertyContainerClass(PropertyContainerClassContext context, PropertyContainerClassType type, java.util.List<TypedProperty> supportedProperties)
public PropertyContainerClassContext getContext()
public void setContext(PropertyContainerClassContext context)
public PropertyContainerClassType getType()
public boolean hasSupportedProperties()
public java.util.Collection<TypedProperty> getSupportedProperties()
public TypedProperty getSupportedProperty(java.lang.String id)
public void setSupportedProperties(java.util.List<TypedProperty> supportedProperties)
public void addSupportedProperty(TypedProperty property)
public void validate(java.util.Map<java.lang.String,java.lang.Object> values)
public boolean evaluatePropertyConstraints(java.util.Collection<java.lang.String> publishedVariableNames)
publishedVariableNames
- a list of all published variable namesCopyright © 2015 Whizzo Software LLC. All rights reserved.