org.apache.directory.server.schema.bootstrap
Class AbstractBootstrapProducer.BootstrapAttributeType
java.lang.Object
org.apache.directory.shared.ldap.schema.AbstractSchemaObject
org.apache.directory.shared.ldap.schema.AbstractAttributeType
org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer.BootstrapAttributeType
- All Implemented Interfaces:
- java.io.Serializable, org.apache.directory.shared.ldap.schema.AttributeType, org.apache.directory.shared.ldap.schema.SchemaObject
- Enclosing class:
- AbstractBootstrapProducer
public static class AbstractBootstrapProducer.BootstrapAttributeType
- extends org.apache.directory.shared.ldap.schema.AbstractAttributeType
A concrete mutable attributeType implementation for bootstrapping which
uses registries for dynamically resolving dependent objects.
- See Also:
- Serialized Form
Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
description, isObsolete, names, oid, schema |
Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractAttributeType |
getLength, getUsage, isCanUserModify, isCollective, isSingleValue |
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 |
AbstractBootstrapProducer.BootstrapAttributeType
public AbstractBootstrapProducer.BootstrapAttributeType(java.lang.String oid,
Registries registries)
setSuperiorId
public void setSuperiorId(java.lang.String superiorId)
setSchema
public void setSchema(java.lang.String schema)
- Specified by:
setSchema
in interface org.apache.directory.shared.ldap.schema.SchemaObject
- Overrides:
setSchema
in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
getSuperior
public org.apache.directory.shared.ldap.schema.AttributeType getSuperior()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
setNames
public void setNames(java.lang.String[] names)
- Overrides:
setNames
in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
getEquality
public org.apache.directory.shared.ldap.schema.MatchingRule getEquality()
throws javax.naming.NamingException
- Returns:
- The MatchingRule associated with the AttributeType
- Throws:
javax.naming.NamingException
setEqualityId
public void setEqualityId(java.lang.String equalityId)
getSubstr
public org.apache.directory.shared.ldap.schema.MatchingRule getSubstr()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
isAncestorOf
public boolean isAncestorOf(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
throws javax.naming.NamingException
- Specified by:
isAncestorOf
in interface org.apache.directory.shared.ldap.schema.AttributeType
- Overrides:
isAncestorOf
in class org.apache.directory.shared.ldap.schema.AbstractAttributeType
- Throws:
javax.naming.NamingException
isDescentantOf
public boolean isDescentantOf(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
throws javax.naming.NamingException
- Specified by:
isDescentantOf
in interface org.apache.directory.shared.ldap.schema.AttributeType
- Overrides:
isDescentantOf
in class org.apache.directory.shared.ldap.schema.AbstractAttributeType
- Throws:
javax.naming.NamingException
setSubstrId
public void setSubstrId(java.lang.String substrId)
getOrdering
public org.apache.directory.shared.ldap.schema.MatchingRule getOrdering()
throws javax.naming.NamingException
- Returns:
- The Ordering Matching Rule associated with this AttributeType
- Throws:
javax.naming.NamingException
setOrderingId
public void setOrderingId(java.lang.String orderingId)
setSyntaxId
public void setSyntaxId(java.lang.String syntaxId)
getSyntax
public org.apache.directory.shared.ldap.schema.Syntax getSyntax()
throws javax.naming.NamingException
- Returns:
- The Syntax associated with the AttributeType
- Throws:
javax.naming.NamingException
setSingleValue
public void setSingleValue(boolean singleValue)
- Overrides:
setSingleValue
in class org.apache.directory.shared.ldap.schema.AbstractAttributeType
setCollective
public void setCollective(boolean collective)
- Overrides:
setCollective
in class org.apache.directory.shared.ldap.schema.AbstractAttributeType
setCanUserModify
public void setCanUserModify(boolean canUserModify)
- Overrides:
setCanUserModify
in class org.apache.directory.shared.ldap.schema.AbstractAttributeType
setObsolete
public void setObsolete(boolean obsolete)
- Overrides:
setObsolete
in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
setDescription
public void setDescription(java.lang.String description)
- Overrides:
setDescription
in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
setUsage
public void setUsage(org.apache.directory.shared.ldap.schema.UsageEnum usage)
- Overrides:
setUsage
in class org.apache.directory.shared.ldap.schema.AbstractAttributeType
setLength
public void setLength(int length)
- Overrides:
setLength
in class org.apache.directory.shared.ldap.schema.AbstractAttributeType
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.