Class Path.ChildAssocElement
- java.lang.Object
-
- org.alfresco.service.cmr.repository.Path.Element
-
- org.alfresco.service.cmr.repository.Path.ChildAssocElement
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Path
@AlfrescoPublicApi public static class Path.ChildAssocElement extends Path.Element
Represents a qualified path between a parent and a child node, including the sibling to retrieve e.g. /{namespace}name[5]- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChildAssocElement(ChildAssociationRef ref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Path.Element
getBaseNameElement(TenantService tenantService)
String
getElementString()
String
getPrefixedString(NamespacePrefixResolver resolver)
ChildAssociationRef
getRef()
int
hashCode()
-
Methods inherited from class org.alfresco.service.cmr.repository.Path.Element
toString
-
-
-
-
Constructor Detail
-
ChildAssocElement
public ChildAssocElement(ChildAssociationRef ref)
- Parameters:
ref
- a reference to the specific parent-child association
-
-
Method Detail
-
getElementString
public String getElementString()
- Specified by:
getElementString
in classPath.Element
- Returns:
- Returns the path element portion including leading '/' and never null
-
getPrefixedString
public String getPrefixedString(NamespacePrefixResolver resolver)
- Overrides:
getPrefixedString
in classPath.Element
- Parameters:
resolver
- namespace prefix resolver- Returns:
- the path element portion (with namespaces converted to prefixes)
-
getRef
public ChildAssociationRef getRef()
-
getBaseNameElement
public Path.Element getBaseNameElement(TenantService tenantService)
- Specified by:
getBaseNameElement
in classPath.Element
- Parameters:
tenantService
- TenantService- Returns:
- Element
-
-