|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.schema.AbstractSchemaElement
org.ldaptive.schema.AbstractNamedSchemaElement
org.ldaptive.schema.MatchingRuleUse
public class MatchingRuleUse
Bean for an matching rule use schema element.
MatchingRuleUseDescription = LPAREN WSP
numericoid ; object identifier
[ SP "NAME" SP qdescrs ] ; short names (descriptors)
[ SP "DESC" SP qdstring ] ; description
[ SP "OBSOLETE" ] ; not active
SP "APPLIES" SP oids ; attribute types
extensions WSP RPAREN ; extensions
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.schema.AbstractSchemaElement |
|---|
NO_WSP_REGEX, WSP_REGEX |
| Constructor Summary | |
|---|---|
MatchingRuleUse(String s)
Creates a new matching rule use. |
|
MatchingRuleUse(String oid,
String[] names,
String description,
boolean obsolete,
String[] appliesAttributeTypes,
Extensions extensions)
Creates a new matching rule use. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
format()
Returns this schema element as formatted string per RFC 4512. |
String[] |
getAppliesAttributeTypes()
Returns the applies attribute types. |
String |
getOID()
Returns the oid. |
int |
hashCode()
|
static MatchingRuleUse |
parse(String definition)
Parses the supplied definition string and creates an initialized matching rule use. |
void |
setAppliesAttributeTypes(String[] s)
Sets the applies attribute types. |
String |
toString()
|
| Methods inherited from class org.ldaptive.schema.AbstractNamedSchemaElement |
|---|
getName, getNames, hasName, isObsolete, setNames, setObsolete |
| Methods inherited from class org.ldaptive.schema.AbstractSchemaElement |
|---|
containsBooleanExtension, getDescription, getExtensions, setDescription, setExtensions |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MatchingRuleUse(String s)
s - oid
public MatchingRuleUse(String oid,
String[] names,
String description,
boolean obsolete,
String[] appliesAttributeTypes,
Extensions extensions)
oid - oidnames - namesdescription - descriptionobsolete - obsoleteappliesAttributeTypes - applies attribute typesextensions - extensions| Method Detail |
|---|
public String getOID()
public String[] getAppliesAttributeTypes()
public void setAppliesAttributeTypes(String[] s)
s - attribute types
public static MatchingRuleUse parse(String definition)
throws ParseException
definition - to parse
ParseException - if the supplied definition is invalidpublic String format()
public boolean equals(Object o)
equals in class AbstractSchemaElementpublic int hashCode()
AbstractSchemaElement
hashCode in class AbstractSchemaElementpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||