|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResource
IResource is the interface used for creating new
resource types from scratch. All Resources must ultimately
stem from this interface so they can properly interface with the
rest of the SDK.
| Field Summary | |
|---|---|
static IResource |
EMPTY_RESOURCE
An empty resource. |
| Method Summary | |
|---|---|
boolean |
equals(IResource r)
|
ElementRef |
getElementRef()
|
java.lang.String |
getFormat()
Return the DCMI format property of resource (MIME type). |
java.util.List<java.lang.String> |
getLangs()
Returns the List of languages for this IResource |
java.lang.String |
getOperationRef()
|
java.util.Map<java.lang.String,java.util.List<java.lang.Object>> |
getPropertiesMap()
|
java.lang.Object |
getProperty(java.lang.String property)
|
Constants.ResourceRole |
getRole()
|
Constants.ResourceType |
getType()
Returns DCMI type property of resource (e.g. |
java.lang.Object |
getValue()
Returns the value of this Resource |
java.lang.String |
getValueRef()
|
java.lang.String |
toString()
String representation of this Object. |
| Field Detail |
|---|
static final IResource EMPTY_RESOURCE
| Method Detail |
|---|
boolean equals(IResource r)
ElementRef getElementRef()
String representing the reference to the socket element for this resource.java.lang.String getFormat()
String valuejava.util.List<java.lang.String> getLangs()
List of languages for this Resourcejava.lang.String getOperationRef()
String representing the operator reference for the socket element for this resource.java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getPropertiesMap()
Map of Properties of this Resourcejava.lang.Object getProperty(java.lang.String property)
property - The property for which the value is needed
Constants.ResourceRole getRole()
ResourceRole for this ResourceConstants.ResourceType getType()
ResourceType of this resourcejava.lang.Object getValue()
Resource
Object valuejava.lang.String getValueRef()
String representing the value reference for the socket element for this resource.java.lang.String toString()
toString in class java.lang.ObjectString value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||