Package org.nuxeo.ecm.core.uidgen
Class UIDGeneratorDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.uidgen.UIDGeneratorDescriptor
-
public class UIDGeneratorDescriptor extends Object
UID generator configuration holder.
-
-
Constructor Summary
Constructors Constructor Description UIDGeneratorDescriptor()
Default constructor - used normally when created as an XObject.UIDGeneratorDescriptor(String generationExp, Set<?> generationCrit)
Explicit constructor.UIDGeneratorDescriptor(String generationExp, Set<?> generationCrit, int counterStart)
Explicit constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
int
getCounterStart()
String[]
getDocTypes()
Set<?>
getGenerationCriteria()
String
getGenerationExpression()
String
getName()
String
getPropertyName()
Kept for convenience.String[]
getPropertyNames()
void
setClassName(String className)
void
setDocTypes(String[] docTypes)
void
setName(String name)
void
setPropertyName(String propertyName)
Set the value as first property name.void
setPropertyNames(String[] propNames)
-
-
-
Method Detail
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDocTypes
public String[] getDocTypes()
-
setDocTypes
public void setDocTypes(String[] docTypes)
-
getCounterStart
public int getCounterStart()
-
getGenerationCriteria
public Set<?> getGenerationCriteria()
-
getGenerationExpression
public String getGenerationExpression()
-
getPropertyName
public String getPropertyName()
Kept for convenience. If there is only one property to be set with generated UID.- Returns:
- first propertyName
-
setPropertyName
public void setPropertyName(String propertyName)
Set the value as first property name. Kept for convenience. If there is only one property to be set with generated UID.
-
getPropertyNames
public String[] getPropertyNames()
-
setPropertyNames
public void setPropertyNames(String[] propNames)
-
-