|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.schema.Schema
public class Schema
Bean that contains the schema definitions in RFC 4512.
| Constructor Summary | |
|---|---|
Schema()
Default constructor. |
|
Schema(Collection<AttributeType> attributeTypes,
Collection<DITContentRule> ditContentRules,
Collection<DITStructureRule> ditStructureRules,
Collection<Syntax> syntaxes,
Collection<MatchingRule> matchingRules,
Collection<MatchingRuleUse> matchingRuleUses,
Collection<NameForm> nameForms,
Collection<ObjectClass> objectClasses)
Creates a new schema. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
AttributeType |
getAttributeType(String name)
Returns the attribute type with the supplied OID or name. |
Collection<AttributeType> |
getAttributeTypes()
Returns the attribute types. |
String[] |
getBinaryAttributeNames()
Returns the attribute names in this schema that represent binary data. |
DITContentRule |
getDITContentRule(String name)
Returns the DIT content rule with the supplied OID or name. |
Collection<DITContentRule> |
getDitContentRules()
Returns the DIT content rules. |
DITStructureRule |
getDITStructureRule(int id)
Returns the DIT structure rule with the supplied ID. |
DITStructureRule |
getDITStructureRule(String name)
Returns the DIT structure rule with the supplied name. |
Collection<DITStructureRule> |
getDitStructureRules()
Returns the DIT structure rules. |
MatchingRule |
getMatchingRule(String name)
Returns the matching rule with the supplied OID or name. |
Collection<MatchingRule> |
getMatchingRules()
Returns the matching rules. |
MatchingRuleUse |
getMatchingRuleUse(String name)
Returns the matching rule use with the supplied OID or name. |
Collection<MatchingRuleUse> |
getMatchingRuleUses()
Returns the matching rule uses. |
NameForm |
getNameForm(String name)
Returns the name form with the supplied OID or name. |
Collection<NameForm> |
getNameForms()
Returns the name forms. |
ObjectClass |
getObjectClass(String name)
Returns the object class with the supplied OID or name. |
Collection<ObjectClass> |
getObjectClasses()
Returns the object classes. |
Syntax |
getSyntax(String oid)
Returns the syntax with the supplied OID. |
Collection<Syntax> |
getSyntaxes()
Returns the syntaxes. |
int |
hashCode()
|
void |
setAttributeTypes(Collection<AttributeType> c)
Sets the attribute types. |
void |
setDitContentRules(Collection<DITContentRule> c)
Sets the DIT content rules. |
void |
setDitStructureRules(Collection<DITStructureRule> c)
Sets the DIT structure rules. |
void |
setMatchingRules(Collection<MatchingRule> c)
Sets the matching rules. |
void |
setMatchingRuleUses(Collection<MatchingRuleUse> c)
Sets the matching rule uses. |
void |
setNameForms(Collection<NameForm> c)
Sets the name forms. |
void |
setObjectClasses(Collection<ObjectClass> c)
Sets the object classes. |
void |
setSyntaxes(Collection<Syntax> c)
Sets the syntaxes. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Schema()
public Schema(Collection<AttributeType> attributeTypes,
Collection<DITContentRule> ditContentRules,
Collection<DITStructureRule> ditStructureRules,
Collection<Syntax> syntaxes,
Collection<MatchingRule> matchingRules,
Collection<MatchingRuleUse> matchingRuleUses,
Collection<NameForm> nameForms,
Collection<ObjectClass> objectClasses)
attributeTypes - attribute typesditContentRules - DIT content rulesditStructureRules - DIT structure rulessyntaxes - syntaxesmatchingRules - matching rulesmatchingRuleUses - matching rule usesnameForms - name formsobjectClasses - object classses| Method Detail |
|---|
public Collection<AttributeType> getAttributeTypes()
public AttributeType getAttributeType(String name)
name - OID or name
public void setAttributeTypes(Collection<AttributeType> c)
c - attribute typespublic String[] getBinaryAttributeNames()
public Collection<DITContentRule> getDitContentRules()
public DITContentRule getDITContentRule(String name)
name - OID or name
public void setDitContentRules(Collection<DITContentRule> c)
c - DIT content rulespublic Collection<DITStructureRule> getDitStructureRules()
public DITStructureRule getDITStructureRule(int id)
id - rule ID
public DITStructureRule getDITStructureRule(String name)
name - rule name
public void setDitStructureRules(Collection<DITStructureRule> c)
c - DIT structure rulespublic Collection<Syntax> getSyntaxes()
public Syntax getSyntax(String oid)
oid - OID
public void setSyntaxes(Collection<Syntax> c)
c - syntaxespublic Collection<MatchingRule> getMatchingRules()
public MatchingRule getMatchingRule(String name)
name - OID or name
public void setMatchingRules(Collection<MatchingRule> c)
c - matching rulespublic Collection<MatchingRuleUse> getMatchingRuleUses()
public MatchingRuleUse getMatchingRuleUse(String name)
name - OID or name
public void setMatchingRuleUses(Collection<MatchingRuleUse> c)
c - matching rule usespublic Collection<NameForm> getNameForms()
public NameForm getNameForm(String name)
name - OID or name
public void setNameForms(Collection<NameForm> c)
c - name formspublic Collection<ObjectClass> getObjectClasses()
public ObjectClass getObjectClass(String name)
name - OID or name
public void setObjectClasses(Collection<ObjectClass> c)
c - object classespublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||