story.dbcore.attributes
Class BooleanAttribute

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

public class BooleanAttribute
extends Attribute

Boolean attribute for nodes concretizing Attribute abstract class.


Constructor Summary
BooleanAttribute()
          Constructor without default value.
BooleanAttribute(AttributeValue value)
          Constructor with initial value.
BooleanAttribute(boolean value)
          Constructor with initial value.
 
Method Summary
 boolean equals(AttributeValue other)
          Determines whether the Boolean equals some other Boolean
 boolean greaterThan(AttributeValue otherValue)
          Determines whether the Boolean is greater than anotherBoolean
 int maxLength()
          All extending classes must report their maximum length.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanAttribute

public BooleanAttribute()
Constructor without default value.


BooleanAttribute

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

Throws:
Scheherexception

BooleanAttribute

public BooleanAttribute(boolean value)
                 throws Scheherexception
Constructor with initial value.

Throws:
Scheherexception
Method Detail

greaterThan

public boolean greaterThan(AttributeValue otherValue)
                    throws Scheherexception
Determines whether the Boolean is greater than anotherBoolean

Specified by:
greaterThan in class Attribute
Throws:
Scheherexception

equals

public boolean equals(AttributeValue other)
               throws Scheherexception
Determines whether the Boolean equals some other Boolean

Specified by:
equals in class Attribute
Throws:
Scheherexception

maxLength

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

Specified by:
maxLength in class Attribute
Throws:
Scheherexception


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