story.dbcore.attributes
Class NodeInstancingAttribute

java.lang.Object
  extended by story.dbcore.attributes.Attribute
      extended by story.dbcore.attributes.NodeInstancingAttribute

public class NodeInstancingAttribute
extends Attribute

Attribute concretizing Attribute abstract class for attributes that are NodeInstancings.


Constructor Summary
NodeInstancingAttribute()
          Constructor with no initial value.
NodeInstancingAttribute(AttributeValue value)
          Constructor with initial value.
 
Method Summary
 boolean equals(AttributeValue other)
          Determines whether one NodeInstancing attribute is equal to another.
 boolean greaterThan(AttributeValue other)
          Determines whether the attribute is greater than another attribute.
 int maxLength()
          All extending classes must report their maximum length.
 AttributeValue value()
          Get the attribute value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeInstancingAttribute

public NodeInstancingAttribute()
Constructor with no initial value.


NodeInstancingAttribute

public NodeInstancingAttribute(AttributeValue value)
                        throws Scheherexception
Constructor with initial value.

Throws:
Scheherexception
Method Detail

value

public AttributeValue value()
                     throws Scheherexception
Get the attribute value.

Throws:
Scheherexception

greaterThan

public boolean greaterThan(AttributeValue other)
                    throws Scheherexception
Determines whether the attribute is greater than another attribute. But since this required function doesn't make sense in the context of NodeInstancings, throw an exception.

Specified by:
greaterThan in class Attribute
Throws:
Scheherexception

equals

public boolean equals(AttributeValue other)
               throws Scheherexception
Determines whether one NodeInstancing attribute is equal to another.

Specified by:
equals in class Attribute
Throws:
Scheherexception

maxLength

public int maxLength()
Description copied from class: Attribute
All extending classes must report their maximum length.

Specified by:
maxLength in class Attribute


Copyright © 2011 David K. Elson. All Rights Reserved.