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 booleanequals(Object o)Path.ElementgetBaseNameElement(TenantService tenantService)StringgetElementString()StringgetPrefixedString(NamespacePrefixResolver resolver)ChildAssociationRefgetRef()inthashCode()-
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:
getElementStringin classPath.Element- Returns:
- Returns the path element portion including leading '/' and never null
-
getPrefixedString
public String getPrefixedString(NamespacePrefixResolver resolver)
- Overrides:
getPrefixedStringin 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:
getBaseNameElementin classPath.Element- Parameters:
tenantService- TenantService- Returns:
- Element
-
-