org.rhq.core.domain.configuration.definition.constraint
Class Constraint

java.lang.Object
  extended by org.rhq.core.domain.configuration.definition.constraint.Constraint
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FloatRangeConstraint, IntegerRangeConstraint, RegexConstraint

public abstract class Constraint
extends Object
implements Serializable

Base class for constraints on configuration property values. These constraints are part of the ConfigurationDefinition model.

See Also:
Serialized Form

Field Summary
protected static String DELIMITER
           
protected  String details
           
 
Constructor Summary
Constraint()
           
 
Method Summary
 String getDetails()
           
 int getId()
           
 PropertyDefinitionSimple getPropertyDefinitionSimple()
           
 void setDetails(String details)
           
 void setId(int id)
           
 void setPropertyDefinitionSimple(PropertyDefinitionSimple propertyDefinitionSimple)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DELIMITER

protected static final String DELIMITER
See Also:
Constant Field Values

details

protected String details
Constructor Detail

Constraint

public Constraint()
Method Detail

getPropertyDefinitionSimple

public PropertyDefinitionSimple getPropertyDefinitionSimple()

setPropertyDefinitionSimple

public void setPropertyDefinitionSimple(PropertyDefinitionSimple propertyDefinitionSimple)

getId

public int getId()

setId

public void setId(int id)

getDetails

public String getDetails()

setDetails

public void setDetails(String details)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.