|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.dbcore.attributes.Attribute
story.dbcore.attributes.NodeAddressAttribute
public class NodeAddressAttribute
Attribute for NodeAddresses. Stores a NodeAddress. Does
not check to see if the NodeAddress refers to an extant
node.
Note: Before using this, make sure that it would not be a better
idea to simply create a link between the node with the attribute
and the node in the attribute. Then you can take advantage of
built-in functionality such as ensuring that the attributed node is
never removed (via the cannotRemoveIfLinkedTo function of
LinkProperties).
| Constructor Summary | |
|---|---|
NodeAddressAttribute()
Constructor without default value. |
|
NodeAddressAttribute(AttributeValue value)
Constructor with initial value. |
|
| Method Summary | |
|---|---|
boolean |
equals(AttributeValue otherValue)
Determines whether the NodeAddress equals some other NodeAddress. |
boolean |
greaterThan(AttributeValue otherValue)
Determines whether one NodeAddress is greater than another. |
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 |
|---|
public NodeAddressAttribute()
public NodeAddressAttribute(AttributeValue value)
throws Scheherexception
Scheherexception| Method Detail |
|---|
public boolean greaterThan(AttributeValue otherValue)
throws Scheherexception
greaterThan in class AttributeScheherexception
public boolean equals(AttributeValue otherValue)
throws Scheherexception
equals in class AttributeScheherexceptionpublic int maxLength()
Attribute
maxLength in class Attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||