com.objectwave.persist.value
Class Value

java.lang.Object
  |
  +--com.objectwave.persist.value.Value

public class Value
extends java.lang.Object

Version:
$Id: Value.java,v 1.1 2001/10/03 14:59:03 dave_hoag Exp $
Author:
cson

Constructor Summary
Value()
           
 
Method Summary
 void addAttribute(Attribute item)
          Adds a feature to the Attribute attribute of the Value object
 void addConstraint(Constraint item)
          Adds a feature to the Constraint attribute of the Value object
 java.util.Enumeration attributes()
           
 java.util.Enumeration constraints()
           
 Attribute getAttribute(int index)
          Gets the Attribute attribute of the Value object
 int getAttributeCount()
          Gets the AttributeCount attribute of the Value object
 Constraint getConstraint(int index)
          Gets the Constraint attribute of the Value object
 int getConstraintCount()
          Gets the ConstraintCount attribute of the Value object
 java.lang.String getDomainClass()
          Gets the DomainClass attribute of the Value object
 java.lang.String getValueClass()
          Gets the ValueClass attribute of the Value object
 boolean hasDomainClass()
           
 boolean hasValueClass()
           
 void setDomainClass(java.lang.String value)
          Sets the DomainClass attribute of the Value object
 void setValueClass(java.lang.String value)
          Sets the ValueClass attribute of the Value object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Value

public Value()
Method Detail

setDomainClass

public void setDomainClass(java.lang.String value)
Sets the DomainClass attribute of the Value object

Parameters:
value - The new DomainClass value

setValueClass

public void setValueClass(java.lang.String value)
Sets the ValueClass attribute of the Value object

Parameters:
value - The new ValueClass value

getConstraint

public Constraint getConstraint(int index)
Gets the Constraint attribute of the Value object

Parameters:
index -
Returns:
The Constraint value

getConstraintCount

public int getConstraintCount()
Gets the ConstraintCount attribute of the Value object

Returns:
The ConstraintCount value

getAttribute

public Attribute getAttribute(int index)
Gets the Attribute attribute of the Value object

Parameters:
index -
Returns:
The Attribute value

getAttributeCount

public int getAttributeCount()
Gets the AttributeCount attribute of the Value object

Returns:
The AttributeCount value

getDomainClass

public java.lang.String getDomainClass()
Gets the DomainClass attribute of the Value object

Returns:
The DomainClass value

getValueClass

public java.lang.String getValueClass()
Gets the ValueClass attribute of the Value object

Returns:
The ValueClass value

addConstraint

public void addConstraint(Constraint item)
Adds a feature to the Constraint attribute of the Value object

Parameters:
item - The feature to be added to the Constraint attribute

constraints

public java.util.Enumeration constraints()
Returns:

addAttribute

public void addAttribute(Attribute item)
Adds a feature to the Attribute attribute of the Value object

Parameters:
item - The feature to be added to the Attribute attribute

attributes

public java.util.Enumeration attributes()
Returns:

hasDomainClass

public boolean hasDomainClass()
Returns:

hasValueClass

public boolean hasValueClass()
Returns: