|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.novell.admin.ns.AttributeDefinition
|
+--com.novell.admin.ns.DefaultAttributeDefinition
|
+--com.novell.admin.ns.nds.NDSAttributeDefinition
Concrete class for NDS attribute definitions.
This is an immutable class.
| Fields inherited from class com.novell.admin.ns.AttributeDefinition |
lowerBound,
name,
sized,
syntax,
upperBound |
| Constructor Summary | |
NDSAttributeDefinition(java.lang.String attrName,
int syntax,
int flags,
long lBound,
long uBound,
byte[] asn1)
Constructor for all NDS attribute definitions. |
|
NDSAttributeDefinition(java.lang.String attrName,
NDSSyntax syntax,
NDSAttributeFlags flags,
long lBound,
long uBound,
byte[] asn1)
Constructor for all NDS attribute definitions. |
|
| Method Summary | |
ObjectAttribute |
createAttribute()
Creates a valid ObjectAttribute according to this attribute definition. |
boolean |
equals(java.lang.Object obj)
|
byte[] |
getASN1Data()
Retrieves the ASN1 information for this attribute. |
NDSAttributeFlags |
getAttributeFlag()
Returns the attribute flags associated with this attribute definition. |
boolean |
isAberrant()
Check to see if the attribute behaves in an atypical manner. |
boolean |
isHidden()
Deprecated. Use method in NDSAttributeFlags. |
boolean |
isReadOnly()
Deprecated. Use method in NDSAttributeFlags. |
boolean |
isSingleValued()
Deprecated. Use method in NDSAttributeFlags. |
| Methods inherited from class com.novell.admin.ns.AttributeDefinition |
getLowerBound,
getName,
getSyntax,
getUpperBound,
isSized,
toString |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public NDSAttributeDefinition(java.lang.String attrName,
NDSSyntax syntax,
NDSAttributeFlags flags,
long lBound,
long uBound,
byte[] asn1)
throws NamespaceException
attrName - Name of the attribute.syntax - NDSSyntax for the attribute.flags - NDS flags for this attribute.lBound - Lower bound for values associated with this attribute, if the attribute is sized.uBound - Upper bound for values associated with this attribute, if this attribute is sized.asn1 - See NDS Schema Reference.
public NDSAttributeDefinition(java.lang.String attrName,
int syntax,
int flags,
long lBound,
long uBound,
byte[] asn1)
throws NamespaceException
attrName - Name of the attribute.syntax - The attribute syntax.flags - The attribute flags.lBound - Lower bound for values associated with this attribute, if this attribute is sized.uBound - upper bound for values associated with this attribute, if this attribute is sized.asn1 - See NDS Schema Reference.| Method Detail |
public boolean equals(java.lang.Object obj)
public final boolean isSingleValued()
public final boolean isHidden()
public final boolean isReadOnly()
public final NDSAttributeFlags getAttributeFlag()
public final byte[] getASN1Data()
public ObjectAttribute createAttribute()
The ObjectAttribute returned contains a single ValueComponent based on the syntax of the attribute.
public boolean isAberrant()
The only attribute that returns true is the "Object Class" attribute, which cannot be modified like other attributes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||