|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wink.common.AbstractDynamicResource
public abstract class AbstractDynamicResource
Provides a basic implementation of the org.apache.wink.common.DynamicResource.
In general it's recommended to extend from this class, instead of implementing the DynamicResource.
| Constructor Summary | |
|---|---|
AbstractDynamicResource()
|
|
| Method Summary | |
|---|---|
String |
getBeanName()
returns the name of the bean The bean name must be unique and usually should come from Spring. |
String |
getCollectionTitle()
Returns the collection title. |
Object |
getParent()
A parent of this resource, so the resulting path is a composition of the parent's path and this one. |
String |
getPath()
Returns path. |
String |
getWorkspaceTitle()
Returns the workspace title. |
void |
setBeanName(String beanName)
sets bean name. |
void |
setCollectionTitle(String collectionTitle)
|
void |
setParent(Object parent)
Sets parents. |
void |
setPath(String path)
|
void |
setWorkspaceTitle(String workspaceTitle)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDynamicResource()
| Method Detail |
|---|
public String getBeanName()
DynamicResource
getBeanName in interface DynamicResourcepublic void setBeanName(String beanName)
DynamicResource
setBeanName in interface DynamicResourcepublic void setWorkspaceTitle(String workspaceTitle)
public String getWorkspaceTitle()
DynamicResource
getWorkspaceTitle in interface DynamicResourceWorkspacepublic void setCollectionTitle(String collectionTitle)
public String getCollectionTitle()
DynamicResource
getCollectionTitle in interface DynamicResourceWorkspacepublic void setPath(String path)
public String getPath()
DynamicResource
getPath in interface DynamicResourcepublic void setParent(Object parent)
DynamicResourceSets parents. See getParent() for full description.
setParent in interface DynamicResourcepublic Object getParent()
DynamicResourceA parent of this resource, so the resulting path is a composition of the parent's path and this one.
Note that in comparison to the Parent annotation, the parent here must be reference to the resource and not class.
If method setParent was invoked, this method must return the same parent that was set.
getParent in interface DynamicResourceParent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||