|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.admin.Reference<C,S>
C
- The type of client managed object configuration that this
reference refers to.S
- The type of server managed object configuration that this
reference refers to.public final class Reference<C extends ConfigurationClient,S extends Configuration>
A reference to another managed object.
Method Summary | ||
---|---|---|
java.lang.String |
getName()
Gets the name of the referenced managed object. |
|
java.lang.String |
getNormalizedName()
Gets the normalized name of the referenced managed object. |
|
static
|
parseDN(ManagedObjectPath<?,?> p,
InstantiableRelationDefinition<C,S> rd,
java.lang.String s)
Parses a DN string value as a reference using the provided managed object path and relation definition. |
|
static
|
parseName(ManagedObjectPath<?,?> p,
InstantiableRelationDefinition<C,S> rd,
java.lang.String s)
Parses a name as a reference using the provided managed object path and relation definition. |
|
DN |
toDN()
Gets the DN of the referenced managed object. |
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static <C extends ConfigurationClient,S extends Configuration> Reference<C,S> parseDN(ManagedObjectPath<?,?> p, InstantiableRelationDefinition<C,S> rd, java.lang.String s) throws java.lang.IllegalArgumentException
C
- The type of client managed object configuration that
this reference refers to.S
- The type of server managed object configuration that
this reference refers to.p
- The path of the referenced managed object's parent.rd
- The instantiable relation in the parent which contains
the referenced managed object.s
- The DN string value.
java.lang.IllegalArgumentException
- If the DN string value could not be decoded as a DN or
if the provided DN did not correspond to the provided
path and relation.public static <C extends ConfigurationClient,S extends Configuration> Reference<C,S> parseName(ManagedObjectPath<?,?> p, InstantiableRelationDefinition<C,S> rd, java.lang.String s) throws java.lang.IllegalArgumentException
C
- The type of client managed object configuration that
this reference refers to.S
- The type of server managed object configuration that
this reference refers to.p
- The path of the referenced managed object's parent.rd
- The instantiable relation in the parent which contains
the referenced managed object.s
- The name of the referenced managed object.
java.lang.IllegalArgumentException
- If the relation is not associated with the provided
parent's definition, or if the provided name is empty.public java.lang.String getName()
public java.lang.String getNormalizedName()
public DN toDN()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |