Constructor and Description |
---|
ObjectType(byte componentId,
byte[] oid,
String name,
boolean includable,
String mimeType)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
byte |
getComponentId()
Returns the compontentId for this entry
|
String |
getMimeType()
Returns the mime type associated with this object type
|
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
|
String |
toString() |
public ObjectType(byte componentId, byte[] oid, String name, boolean includable, 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 String getName()
public byte getComponentId()
public boolean isIncludable()
public String getMimeType()
Copyright © 2025 Apache Software Foundation. All rights reserved.