public abstract class AbstractElementListEntry extends Resource implements IElementListEntry
IElementListEntry implementation. Contains methods for
obtaining properties from the entry's element.
Not intended to be sub-classed by clients.
ID_PREFIX, INSERT, STATE_NEW, STATE_NONE| Constructor and Description |
|---|
AbstractElementListEntry(java.lang.String pID)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Property,IPropertyValue> |
getAllPropertyValuesWithElement()
Returns a map off all Properties from this element list entry and its
corresponding Element.
|
static java.util.Map<Property,IPropertyValue> |
getAllPropertyValuesWithElementStatic(IElementListEntry pEntry)
Static call for
IElementListEntry.getAllPropertyValuesWithElement(). |
IPropertyValue |
getPropertyValueWithElement(Property pProp)
Can return the property value of the entry as well as of the
corresponding
IElement. |
static IPropertyValue |
getPropertyValueWithElementStatic(IElementListEntry pEntry,
Property pProp)
Static call for
IElementListEntry.getPropertyValueWithElement(Property). |
java.lang.String |
getTreeViewLabel()
Returns an element label, which consists of element property values that
have the attribute
isTreeViewLabel set to true. |
static java.lang.String |
getTreeViewLabelStatic(IElementListEntry pEntry)
Static call for
IElementListEntry.getTreeViewLabel(). |
addChildResource, addPropertyValue, addResourceChild, delete, equals, getAllPropertyValues, getChildrenResources, getID, getName, getParentResource, getPropertyValue, getPropertyValueFromHierarchy, getResourceChildren, getValueOfLinkedProperty, hashCode, removeProperty, removeResourceChild, setName, setPropertyValuesgetClass, notify, notifyAll, toString, wait, wait, waitaddChild, getChildren, getChildren, getChildrenEntries, getElement, getElementList, getParent, getState, removeChild, setParent, setStateaddChildResource, addPropertyValue, addResourceChild, delete, getAllPropertyValues, getChildrenResources, getID, getName, getParentResource, getPropertyValue, getPropertyValueFromHierarchy, getResourceChildren, removeResourceChild, setName, setPropertyValuespublic AbstractElementListEntry(java.lang.String pID)
pID - the cache IDpublic IPropertyValue getPropertyValueWithElement(Property pProp)
IElementListEntryIElement. If both have a property value for the
desired property, the element list entry property value will be returned.getPropertyValueWithElement in interface IElementListEntrypProp - the desired propertyIPropertyValue or nullpublic java.util.Map<Property,IPropertyValue> getAllPropertyValuesWithElement()
IElementListEntryModifying this list will not modify any Properties of this entry or its Element.
getAllPropertyValuesWithElement in interface IElementListEntryIElementListEntry.getElement(),
IResource.getAllPropertyValues()public java.lang.String getTreeViewLabel()
IElementListEntryisTreeViewLabel set to true.getTreeViewLabel in interface IElementListEntrypublic static IPropertyValue getPropertyValueWithElementStatic(IElementListEntry pEntry, Property pProp)
IElementListEntry.getPropertyValueWithElement(Property).pEntry - the element list entrypProp - the desired propertynullpublic static java.util.Map<Property,IPropertyValue> getAllPropertyValuesWithElementStatic(IElementListEntry pEntry)
IElementListEntry.getAllPropertyValuesWithElement().pEntry - the element list entrypublic static java.lang.String getTreeViewLabelStatic(IElementListEntry pEntry)
IElementListEntry.getTreeViewLabel().pEntry - the entry to get the label fromCopyright © 2015 Micro Focus GmbH. All rights reserved.