public abstract class SyntaxChecker extends LoadableSchemaObject
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
The mandatory serialVersionUID
|
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
Modifier | Constructor and Description |
---|---|
protected |
SyntaxChecker()
The SyntaxChecker default constructor where the oid is set after
instantiation.
|
protected |
SyntaxChecker(String oid)
The SyntaxChecker base constructor
|
Modifier and Type | Method and Description |
---|---|
void |
assertSyntax(Object value)
Asserts whether or not the attribute's value conforms to the attribute
syntax.
|
boolean |
equals(Object o) |
abstract boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax.
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
String |
toString() |
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock
public static final long serialVersionUID
protected SyntaxChecker(String oid)
oid
- The associated OIDprotected SyntaxChecker()
public abstract boolean isValidSyntax(Object value)
value
- the value of some attribute with the syntaxpublic void assertSyntax(Object value) throws LdapException
value
- the value of some attribute with the syntaxLdapException
- if the value does not conform to the attribute syntax.public void setSchemaManager(SchemaManager schemaManager)
schemaManager
- the schemaManager to storepublic boolean equals(Object o)
equals
in interface SchemaObject
equals
in class LoadableSchemaObject
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.