|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.certsrv.base.MetaAttributeDef
public class MetaAttributeDef
A class representing a meta attribute defintion.
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Compares this attribute definition with another, for equality. |
static MetaAttributeDef |
forName(java.lang.String name)
Retrieves attribute definition by name |
static MetaAttributeDef |
forOID(netscape.security.util.ObjectIdentifier oid)
Retrieves attribute definition by object identifier |
static java.util.Enumeration |
getAttributeNameOids()
Returns enumeration of the registered attribute object identifiers |
static java.util.Enumeration |
getAttributeNames()
Returns enumeration of the registered attribute names |
java.lang.String |
getName()
Gets attribute name |
netscape.security.util.ObjectIdentifier |
getOID()
Gets an attribute OID. |
java.lang.Class |
getValueClass()
Gets an Java class for the attribute values |
static MetaAttributeDef |
register(java.lang.String name,
java.lang.Class valueClass,
netscape.security.util.ObjectIdentifier oid)
Registers new MetaAttribute defintion Attribute is defined by name, Java class for attribute values and optional object identifier |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public netscape.security.util.ObjectIdentifier getOID()
public java.lang.Class getValueClass()
public java.lang.String getName()
public static MetaAttributeDef register(java.lang.String name,
java.lang.Class valueClass,
netscape.security.util.ObjectIdentifier oid)
name - attribute namevalueClass - attribute value classoid - attribute object identifier
java.lang.IllegalArgumentException - if name or valueClass are null, or
conflicting attribute definition already existspublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic static MetaAttributeDef forName(java.lang.String name)
name - attribute name
public static MetaAttributeDef forOID(netscape.security.util.ObjectIdentifier oid)
oid - attribute object identifier
public static java.util.Enumeration getAttributeNames()
public static java.util.Enumeration getAttributeNameOids()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||