Package org.nuxeo.ecm.directory
Class AbstractReference
- java.lang.Object
-
- org.nuxeo.ecm.directory.AbstractReference
-
- All Implemented Interfaces:
Reference
- Direct Known Subclasses:
InverseReference
,LDAPReference
,LDAPTreeReference
,MongoDBReference
,MultiReference
,TableReference
public abstract class AbstractReference extends Object implements Reference
Implementation of common Reference logic.- Author:
- ogrisel
-
-
Field Summary
Fields Modifier and Type Field Description protected String
fieldName
protected Directory
sourceDirectory
protected String
sourceDirectoryName
protected Directory
targetDirectory
protected String
targetDirectoryName
-
Constructor Summary
Constructors Constructor Description AbstractReference(String fieldName, String targetDirectoryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldName()
Directory
getSourceDirectory()
Directory
getTargetDirectory()
void
setSourceDirectoryName(String sourceDirectoryName)
void
setTargetDirectoryName(String targetDirectoryName)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.directory.Reference
addLinks, addLinks, addLinks, addLinks, getSourceIdsForTarget, getTargetIdsForSource, removeLinksForSource, removeLinksForSource, removeLinksForTarget, removeLinksForTarget, setSourceIdsForTarget, setSourceIdsForTarget, setTargetIdsForSource, setTargetIdsForSource
-
-
-
-
Method Detail
-
getFieldName
public String getFieldName()
- Specified by:
getFieldName
in interfaceReference
-
getSourceDirectory
public Directory getSourceDirectory()
- Specified by:
getSourceDirectory
in interfaceReference
-
setSourceDirectoryName
public void setSourceDirectoryName(String sourceDirectoryName)
- Specified by:
setSourceDirectoryName
in interfaceReference
-
getTargetDirectory
public Directory getTargetDirectory()
- Specified by:
getTargetDirectory
in interfaceReference
-
setTargetDirectoryName
public void setTargetDirectoryName(String targetDirectoryName)
- Specified by:
setTargetDirectoryName
in interfaceReference
-
-