public class Registry.ObjectType
extends java.lang.Object
| Constructor | Description |
|---|---|
ObjectType(byte componentId,
byte[] oid,
java.lang.String name,
boolean includable,
java.lang.String mimeType) |
Main constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
byte |
getComponentId() |
Returns the compontentId for this entry
|
java.lang.String |
getMimeType() |
Returns the mime type associated with this object type
|
java.lang.String |
getName() |
Returns the object type name for the given componentId
|
byte[] |
getOID() |
Returns a MOD:CA object type OID from a given a componentId
|
boolean |
isIncludable() |
Returns true if this component can be included with an IOB structured field
|
java.lang.String |
toString() |
public ObjectType(byte componentId,
byte[] oid,
java.lang.String name,
boolean includable,
java.lang.String mimeType)
componentId - the component id of this object typeoid - the object id of this object typename - the object type nameincludable - true if this object can be included with an IOB structured fieldmimeType - the mime type associated with this object typepublic byte[] getOID()
public java.lang.String getName()
public byte getComponentId()
public boolean isIncludable()
public java.lang.String getMimeType()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.