public class ParentContext extends ElementContext implements ImportParent
Constructor and Description |
---|
ParentContext(org.alfresco.service.namespace.QName elementName,
org.alfresco.service.cmr.dictionary.DictionaryService dictionary,
Importer importer)
Construct
|
ParentContext(org.alfresco.service.namespace.QName elementName,
NodeContext parent)
Construct (with unknown child association)
|
ParentContext(org.alfresco.service.namespace.QName elementName,
NodeContext parent,
org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef)
Construct
|
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.namespace.QName |
getAssocType() |
org.alfresco.service.cmr.repository.NodeRef |
getParentRef() |
void |
setAssocType(org.alfresco.service.namespace.QName assocType)
Set Parent / Child Assoc Type
|
void |
setParentRef(org.alfresco.service.cmr.repository.NodeRef parentRef)
Set Parent Reference
|
String |
toString() |
getDictionaryService, getElementName, getImporter
public ParentContext(org.alfresco.service.namespace.QName elementName, org.alfresco.service.cmr.dictionary.DictionaryService dictionary, Importer importer)
elementName
- QNamedictionary
- DictionaryServiceimporter
- Importerpublic ParentContext(org.alfresco.service.namespace.QName elementName, NodeContext parent)
elementName
- QNameparent
- NodeContextpublic ParentContext(org.alfresco.service.namespace.QName elementName, NodeContext parent, org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef)
elementName
- QNameparent
- NodeContextassocDef
- AssociationDefinitionpublic org.alfresco.service.cmr.repository.NodeRef getParentRef()
getParentRef
in interface ImportParent
public void setParentRef(org.alfresco.service.cmr.repository.NodeRef parentRef)
setParentRef
in interface ImportParent
parentRef
- parent referencepublic org.alfresco.service.namespace.QName getAssocType()
getAssocType
in interface ImportParent
public void setAssocType(org.alfresco.service.namespace.QName assocType)
setAssocType
in interface ImportParent
assocType
- association typeCopyright © 2005–2017 Alfresco Software. All rights reserved.