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