public interface ISResource
| Modifier and Type | Interface and Description |
|---|---|
static class |
ISResource.ISRESOURCETYPE |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollection()
Gets the collection in which the resource is registered.
|
Document |
getDocument()
Gets the payload of the resource
|
String |
getID()
Gets the identifier assigned to the resource
|
String |
getName()
Gets the resource name
|
ISResource.ISRESOURCETYPE |
getType()
Gets the resource type
|
void |
setCollection(String collection)
The collection in which the resource is registered.
|
void |
setDocument(Document document)
The payload of the resource
|
void |
setID(String id)
The identifier assigned to the resource
|
void |
setName(String name)
Sets the resource name
|
void |
setType(ISResource.ISRESOURCETYPE type)
Sets the resource type
|
void setName(String name)
documentName - the resource namevoid setType(ISResource.ISRESOURCETYPE type)
type - the resource typeISResource.ISRESOURCETYPE getType()
String getName()
void setDocument(Document document)
document - the documentInvalidISResourceParameterExceptionDocument getDocument()
void setCollection(String collection)
collection - the collection nameString getCollection()
void setID(String id)
id - the identifierString getID()
Copyright © 2015. All Rights Reserved.