|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 | |
---|---|
java.lang.String |
getBeanName()
returns the name of the bean The bean name must be unique and usually should come from Spring. |
java.lang.String |
getCollectionTitle()
Returns the collection title. |
java.lang.Object |
getParent()
A parent of this resource, so the resulting path is a composition of the parent's path and this one. |
java.lang.String |
getPath()
Returns path. |
java.lang.String |
getWorkspaceTitle()
Returns the workspace title. |
void |
setBeanName(java.lang.String beanName)
sets bean name. |
void |
setCollectionTitle(java.lang.String collectionTitle)
|
void |
setParent(java.lang.Object parent)
Sets parents. |
void |
setPath(java.lang.String path)
|
void |
setWorkspaceTitle(java.lang.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 java.lang.String getBeanName()
DynamicResource
getBeanName
in interface DynamicResource
public void setBeanName(java.lang.String beanName)
DynamicResource
setBeanName
in interface DynamicResource
public void setWorkspaceTitle(java.lang.String workspaceTitle)
public java.lang.String getWorkspaceTitle()
DynamicResource
getWorkspaceTitle
in interface DynamicResource
Workspace
public void setCollectionTitle(java.lang.String collectionTitle)
public java.lang.String getCollectionTitle()
DynamicResource
getCollectionTitle
in interface DynamicResource
Workspace
public void setPath(java.lang.String path)
public java.lang.String getPath()
DynamicResource
getPath
in interface DynamicResource
public void setParent(java.lang.Object parent)
DynamicResource
Sets parents. See getParent() for full description.
setParent
in interface DynamicResource
public java.lang.Object getParent()
DynamicResource
A 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 DynamicResource
Parent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |