public class AutoUniqueName
extends java.lang.Object
implements java.io.Serializable
ReferentialContainmentRelationship
or
DynamicReferentialContainmentRelationship
objects.
If auto-unique naming is enabled, and a naming collision is detected, the containment name of the object is automatically appended with a suffix to make the name unique. For details, see the ContainmentName property.
CAUTION: Enabling auto-unique naming can have a severe performance impact when used for large numbers of objects filed in the same folder using a duplicate containment name. Under certain conditions, the Content Engine might retry the filing operation many times before the filing operation succeeds. In those cases, timeouts can occur. Therefore, your client application should ensure that unique containment names are created for each object, so that the auto-unique naming is only needed infrequently.
Modifier and Type | Field and Description |
---|---|
static AutoUniqueName |
AUTO_UNIQUE
A constant representing an instance of type
AUTO_UNIQUE . |
static AutoUniqueName |
NOT_AUTO_UNIQUE
A constant representing an instance of type
NOT_AUTO_UNIQUE . |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getBooleanValue()
Returns the
Boolean value associated with this instance. |
static AutoUniqueName |
getInstanceFromBoolean(boolean val)
Creates an instance of this class having the specified auto-unique setting.
|
boolean |
getValue()
Returns the
boolean value associated with this instance. |
java.lang.String |
toString()
Returns a
String representation of this instance. |
public static final AutoUniqueName AUTO_UNIQUE
AUTO_UNIQUE
. This specifies that containment naming
collisions are to be detected and resolved.public static final AutoUniqueName NOT_AUTO_UNIQUE
NOT_AUTO_UNIQUE
. This specifies that containment naming
collisions are not to be detected and resolved.public boolean getValue()
boolean
value associated with this instance.boolean
value of true
or false
.public java.lang.Boolean getBooleanValue()
Boolean
value associated with this instance.Boolean
value of true
or false
.public static AutoUniqueName getInstanceFromBoolean(boolean val)
val
- A boolean
value of true
to indicate auto-unique naming is
enabled; false
otherwise.AutoUniqueName
object having the specified setting.public java.lang.String toString()
String
representation of this instance.toString
in class java.lang.Object
String
representing the instance.© Copyright IBM Corporation 2006, 2015. All rights reserved.