| | |
| | | * @return Returns a new LDAP name representing the specified |
| | | * managed object path. |
| | | */ |
| | | public static LdapName create(ManagedObjectPath path, LDAPProfile profile) { |
| | | public static LdapName create(ManagedObjectPath<?, ?> path, |
| | | LDAPProfile profile) { |
| | | LDAPNameBuilder builder = new LDAPNameBuilder(profile); |
| | | path.serialize(builder); |
| | | return builder.getInstance(); |
| | |
| | | * @return Returns a new LDAP name representing the specified |
| | | * managed object path and instantiable relation. |
| | | */ |
| | | public static LdapName create(ManagedObjectPath path, |
| | | public static LdapName create(ManagedObjectPath<?, ?> path, |
| | | InstantiableRelationDefinition<?, ?> relation, LDAPProfile profile) { |
| | | LDAPNameBuilder builder = new LDAPNameBuilder(profile); |
| | | path.serialize(builder); |
| | |
| | | InstantiableRelationDefinition<? super C, ? super S> r, |
| | | AbstractManagedObjectDefinition<C, S> d, String name) { |
| | | // Add the RDN sequence representing the relation. |
| | | appendManagedObjectPathElement((RelationDefinition) r); |
| | | appendManagedObjectPathElement((RelationDefinition<?, ?>) r); |
| | | |
| | | // Now add the single RDN representing the named instance. |
| | | String type = profile.getInstantiableRelationChildRDNType(r); |
| | |
| | | OptionalRelationDefinition<? super C, ? super S> r, |
| | | AbstractManagedObjectDefinition<C, S> d) { |
| | | // Add the RDN sequence representing the relation. |
| | | appendManagedObjectPathElement((RelationDefinition) r); |
| | | appendManagedObjectPathElement((RelationDefinition<?, ?>) r); |
| | | } |
| | | |
| | | |
| | |
| | | SingletonRelationDefinition<? super C, ? super S> r, |
| | | AbstractManagedObjectDefinition<C, S> d) { |
| | | // Add the RDN sequence representing the relation. |
| | | appendManagedObjectPathElement((RelationDefinition) r); |
| | | appendManagedObjectPathElement((RelationDefinition<?, ?>) r); |
| | | } |
| | | |
| | | |