Package cdc.rdb
Class RdbElementPath
java.lang.Object
cdc.rdb.RdbElementPath
- All Implemented Interfaces:
Comparable<RdbElementPath>
Path associated to an element.
For elements that can have siblings with same name (e.g., data type, function or procedure), a Path, as currently defined, can be ambiguous.
- Author:
- Damien Carbonne
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charstatic final char -
Constructor Summary
ConstructorsConstructorDescriptionRdbElementPath(RdbElement element) RdbElementPath(Class<? extends RdbElement> tailClass, String s) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(RdbElementPath other) booleanintgetPart(int index) getPart(Class<? extends RdbElement> elementClass) getParts()Class<? extends RdbElement>inthashCode()booleanhasPart(Class<? extends RdbElement> elementClass) toString()
-
Field Details
-
KIND_SEPARATOR
public static final char KIND_SEPARATOR- See Also:
-
PART_SEPARATOR
public static final char PART_SEPARATOR- See Also:
-
-
Constructor Details
-
RdbElementPath
RdbElementPath(RdbElement element) -
RdbElementPath
-
RdbElementPath
-
-
Method Details
-
getLength
public int getLength() -
getParts
-
getPart
-
getTailClass
-
hasPart
-
getPart
-
getParent
-
hashCode
public int hashCode() -
equals
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<RdbElementPath>
-