|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectssdbms.ssd.LabeledSSD
LabeledSSD
class represents labeled semistructured data
which actually are label-identifier pairs.
Non primitive semistructured data contain label-identifier pairs.
Label
,
ID
Constructor Summary | |
LabeledSSD(Label label,
ID id)
Creates a label-identifier pair known as labeled semistructured datum. |
Method Summary | |
boolean |
equals(LabeledSSD labeledSSD)
Indicates wheter some labeled semistructured data is 'equal to' this one. |
ID |
getID()
Returs the identifier component of a labeled semistructured datum. |
Label |
getLabel()
Returs the label component of a labeled semistructured datum. |
java.lang.String |
toString()
Return a string representation of the labeled ssd. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LabeledSSD(Label label, ID id) throws SSDException
label
- The label component of the pair.id
- The identifier component of the pair.
SSDException
- If label
or id
are null
Method Detail |
public ID getID()
public Label getLabel()
public boolean equals(LabeledSSD labeledSSD)
labeledSSD
- The label semistructured data with which to compare.
true
if both have the same label component and the same identifier component,
false
otherwise.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |