Package ro.sync.ecss.dita
Class CILevelValue
- java.lang.Object
-
- ro.sync.contentcompletion.xml.CIValue
-
- ro.sync.ecss.dita.CILevelValue
-
-
Field Summary
-
Fields inherited from class ro.sync.contentcompletion.xml.CIValue
afterInsertCaretPosition, TYPE_AI_POSITRON_FUNCTION, TYPE_ANT_EXTENSION_POINT, TYPE_ANT_PROPERTY, TYPE_ANT_REFERENCE, TYPE_ANT_TARGET, TYPE_FILE_NAME, TYPE_FOLDER, TYPE_OXYGEN_XPATH_FUNCTION, TYPE_PLAIN, TYPE_SCH_DIAGNOSTIC, TYPE_SCH_PATTERN, TYPE_SCH_PHASE, TYPE_SCH_PROPERTY, TYPE_SCH_RULE, TYPE_SCH_VARIABLE, TYPE_UNKNOWN, TYPE_WSDL_BINDING, TYPE_WSDL_MESSAGE, TYPE_WSDL_MESSAGE_PART, TYPE_WSDL_OPERATION_FAULT, TYPE_WSDL_OPERATION_INPUT, TYPE_WSDL_OPERATION_OUTPUT, TYPE_WSDL_PORT_TYPE, TYPE_WSDL_PORT_TYPE_OPERATION, TYPE_XSD_ATTRIBUTE, TYPE_XSD_ATTRIBUTE_GROUP, TYPE_XSD_COMPLEX_TYPE, TYPE_XSD_CONSTRAINT, TYPE_XSD_ELEMENT, TYPE_XSD_GROUP, TYPE_XSD_NOTATION, TYPE_XSD_SIMPLE_OR_COMPLEX_TYPE, TYPE_XSD_SIMPLE_TYPE, TYPE_XSLT_ACCUMULATOR, TYPE_XSLT_ATTRIBUTE, TYPE_XSLT_ATTRIBUTE_SET, TYPE_XSLT_AXIS, TYPE_XSLT_CHARACTER_MAP, TYPE_XSLT_ELEMENT, TYPE_XSLT_FUNCTION, TYPE_XSLT_KEY, TYPE_XSLT_LOCAL_PARAM, TYPE_XSLT_LOCAL_VARIABLE, TYPE_XSLT_MODE, TYPE_XSLT_OUTPUT, TYPE_XSLT_PARAM, TYPE_XSLT_TEMPLATE, TYPE_XSLT_VARIABLE
-
-
Constructor Summary
Constructors Constructor Description CILevelValue(java.lang.String name, int level)
Constructor.CILevelValue(java.lang.String name, int level, java.lang.String[] parentPath)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Test if aCIValue
is equal with this one.int
getLevel()
Get the level in the Subject Scheme hierarchy.java.lang.String[]
getParentPath()
java.lang.String
getPresentationName()
Returns a human friendly name used to present the value in a dialog.int
hashCode()
void
setPresentationName(java.lang.String presentationName)
Set a human friendly name used to present the value in a dialog.-
Methods inherited from class ro.sync.contentcompletion.xml.CIValue
compareTo, getAfterInsertCaretPosition, getAnnotation, getAnnotationAsPlainText, getCIFromIDValues, getCIValues, getCIValues, getCIValues, getCIValues, getCIValuesAsList, getCIValuesAsList, getCIValuesAsList, getInsertString, getType, getValue, isDefaultValue, isListValue, isUsedInURLAnchors, setAfterInsertCaretPosition, setAnnotation, setDefaultValue, setInsertString, setListValue, setType, setValue, toString, valueOf
-
-
-
-
Constructor Detail
-
CILevelValue
public CILevelValue(java.lang.String name, int level)
Constructor.- Parameters:
name
- The actual value.level
- The level in the Subject Scheme hierarchy.
-
CILevelValue
public CILevelValue(java.lang.String name, int level, java.lang.String[] parentPath)
Constructor.- Parameters:
name
- The actual value.level
- The level in the Subject Scheme hierarchy.parentPath
- The path of ancestors values.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Description copied from class:CIValue
Test if aCIValue
is equal with this one.- Overrides:
equals
in classCIValue
- See Also:
CIValue.equals(java.lang.Object)
-
getLevel
public int getLevel()
Get the level in the Subject Scheme hierarchy.- Returns:
- Returns the level in the Subject Scheme hierarchy.
-
getPresentationName
public java.lang.String getPresentationName()
Returns a human friendly name used to present the value in a dialog.- Returns:
- a human friendly name used to present the value in a dialog.
-
setPresentationName
public void setPresentationName(java.lang.String presentationName)
Set a human friendly name used to present the value in a dialog.- Parameters:
presentationName
- The presentation.
-
getParentPath
public java.lang.String[] getParentPath()
- Returns:
- Returns the parents path.
-
-