|
||||||||||
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 |
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 attributesMethod Detail |
---|
public org.apache.directory.shared.ldap.schema.MatchingRule getMatchingRule() throws javax.naming.NamingException
getMatchingRule
in interface org.apache.directory.shared.ldap.schema.MatchingRuleUse
javax.naming.NamingException
public org.apache.directory.shared.ldap.schema.AttributeType[] getApplicableAttributes() throws javax.naming.NamingException
getApplicableAttributes
in interface org.apache.directory.shared.ldap.schema.MatchingRuleUse
javax.naming.NamingException
public 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.MutableSchemaObject
setNames
in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
public void setDescription(java.lang.String description)
setDescription
in interface org.apache.directory.shared.ldap.schema.MutableSchemaObject
setDescription
in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
public void setObsolete(boolean obsolete)
setObsolete
in interface org.apache.directory.shared.ldap.schema.MutableSchemaObject
setObsolete
in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
public void setSchema(java.lang.String schemaName)
setSchema
in interface org.apache.directory.shared.ldap.schema.SchemaObject
setSchema
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 |