Package org.nuxeo.ecm.core.uidgen
Class UIDGeneratorDescriptor
java.lang.Object
org.nuxeo.ecm.core.uidgen.UIDGeneratorDescriptor
UID generator configuration holder.
-
Constructor Summary
ConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionint
String[]
Set<?>
getName()
Kept for convenience.String[]
void
setClassName
(String className) void
setDocTypes
(String[] docTypes) void
void
setPropertyName
(String propertyName) Set the value as first property name.void
setPropertyNames
(String[] propNames)
-
Constructor Details
-
UIDGeneratorDescriptor
public UIDGeneratorDescriptor()Default constructor - used normally when created as an XObject. -
UIDGeneratorDescriptor
Explicit constructor. -
UIDGeneratorDescriptor
Explicit constructor.
-
-
Method Details
-
getClassName
-
setClassName
-
getName
-
setName
-
getDocTypes
-
setDocTypes
-
getCounterStart
public int getCounterStart() -
getGenerationCriteria
-
getGenerationExpression
-
getPropertyName
Kept for convenience. If there is only one property to be set with generated UID.- Returns:
- first propertyName
-
setPropertyName
Set the value as first property name. Kept for convenience. If there is only one property to be set with generated UID. -
getPropertyNames
-
setPropertyNames
-