|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.schema.AbstractSchemaObject
org.apache.directory.server.core.schema.MatchingRuleUseImpl
public class MatchingRuleUseImpl
A machingRuleUse implementation which dynamically pull applicable attributeTypes and it's matchingRule from the registries associated with it.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
|---|
description, isObsolete, names, oid, schema |
| Constructor Summary | |
|---|---|
protected |
MatchingRuleUseImpl(java.lang.String oid,
Registries registries)
Creates a new matchingRuleUse. |
| Method Summary | |
|---|---|
org.apache.directory.shared.ldap.schema.AttributeType[] |
getApplicableAttributes()
|
org.apache.directory.shared.ldap.schema.MatchingRule |
getMatchingRule()
|
void |
setApplicableAttributesOids(java.lang.String[] applicableAttributesOids)
Sets the oids used to look up the applicable AttributeTypes. |
void |
setDescription(java.lang.String description)
Sets the description associated with this matchingRuleUse. |
void |
setNames(java.lang.String[] names)
Sets the names associated with this matchingRuleUse. |
void |
setObsolete(boolean obsolete)
Sets whether or not this matchingRuleUse is obsolete. |
void |
setSchema(java.lang.String schemaName)
Sets the schema this matchingRuleUse is defined under. |
| Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
|---|
equals, getDescription, getName, getNamesRef, getOid, getSchema, hashCode, isObsolete, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.schema.SchemaObject |
|---|
getDescription, getName, getNamesRef, getOid, getSchema, isObsolete |
| Constructor Detail |
|---|
protected MatchingRuleUseImpl(java.lang.String oid,
Registries registries)
oid - the numeric oid of the matchingRule associated with this matchingRuleUseregistries - the registries used to resolve the matchingRule and the applicable attributes| Method Detail |
|---|
public org.apache.directory.shared.ldap.schema.MatchingRule getMatchingRule()
throws javax.naming.NamingException
getMatchingRule in interface org.apache.directory.shared.ldap.schema.MatchingRuleUsejavax.naming.NamingException
public org.apache.directory.shared.ldap.schema.AttributeType[] getApplicableAttributes()
throws javax.naming.NamingException
getApplicableAttributes in interface org.apache.directory.shared.ldap.schema.MatchingRuleUsejavax.naming.NamingExceptionpublic void setApplicableAttributesOids(java.lang.String[] applicableAttributesOids)
applicableAttributesOids - the String[] of attributeType oidspublic void setNames(java.lang.String[] names)
setNames in interface org.apache.directory.shared.ldap.schema.MutableSchemaObjectsetNames in class org.apache.directory.shared.ldap.schema.AbstractSchemaObjectpublic void setDescription(java.lang.String description)
setDescription in interface org.apache.directory.shared.ldap.schema.MutableSchemaObjectsetDescription in class org.apache.directory.shared.ldap.schema.AbstractSchemaObjectpublic void setObsolete(boolean obsolete)
setObsolete in interface org.apache.directory.shared.ldap.schema.MutableSchemaObjectsetObsolete in class org.apache.directory.shared.ldap.schema.AbstractSchemaObjectpublic void setSchema(java.lang.String schemaName)
setSchema in interface org.apache.directory.shared.ldap.schema.SchemaObjectsetSchema in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||