Class UIDGeneratorDescriptor

java.lang.Object
org.nuxeo.ecm.core.uidgen.UIDGeneratorDescriptor

public class UIDGeneratorDescriptor extends Object
UID generator configuration holder.
  • Constructor Details

    • UIDGeneratorDescriptor

      public UIDGeneratorDescriptor()
      Default constructor - used normally when created as an XObject.
    • UIDGeneratorDescriptor

      public UIDGeneratorDescriptor(String generationExp, Set<?> generationCrit)
      Explicit constructor.
    • UIDGeneratorDescriptor

      public UIDGeneratorDescriptor(String generationExp, Set<?> generationCrit, int counterStart)
      Explicit constructor.
  • Method Details

    • 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)