public class WEFResourceImpl extends Object implements WEFResource
| Modifier and Type | Field and Description |
|---|---|
protected String |
container |
protected List<WEFResource> |
dependencies |
protected String |
description |
protected String |
name |
protected String |
path |
protected String |
type |
protected String |
userAgent |
protected String |
variableName |
| Constructor and Description |
|---|
WEFResourceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainer()
Returns the resource container.
|
List<WEFResource> |
getDependencies()
Returns a list of dependencies this resouce has.
|
String |
getDescription()
Returns the resource description.
|
String |
getName()
Returns the resource name.
|
String |
getPath()
Returns the resource path.
|
String |
getType()
Returns the resource type.
|
String |
getUserAgent()
Returns the user agent
|
String |
getVariableName()
Returns the resource varaible name
|
void |
setContainer(String container)
Sets the resource container.
|
void |
setDependencies(List<WEFResource> dependencies)
Sets the resource's dependencies
|
void |
setDescription(String description)
Sets the resource description.
|
void |
setName(String name)
Sets the resource name.
|
void |
setPath(String path)
Sets the resource path.
|
void |
setType(String type)
Sets the resource type.
|
void |
setUserAgent(String userAgent)
Sets the user agent.
|
void |
setVariableName(String variableName)
Sets the resource variable name.
|
String |
toString() |
protected String name
protected String path
protected String type
protected String description
protected String variableName
protected String userAgent
protected String container
protected List<WEFResource> dependencies
public String getName()
WEFResourcegetName in interface WEFResourcepublic void setName(String name)
name - The namepublic String getPath()
WEFResourcegetPath in interface WEFResourcepublic void setPath(String path)
path - The pathpublic String getType()
WEFResourcegetType in interface WEFResourcepublic void setType(String type)
type - Stringpublic String getDescription()
WEFResourcegetDescription in interface WEFResourcepublic void setDescription(String description)
description - The descriptionpublic String getVariableName()
WEFResourcegetVariableName in interface WEFResourcepublic void setVariableName(String variableName)
variableName - The variable namepublic String getUserAgent()
WEFResourcegetUserAgent in interface WEFResourcepublic void setUserAgent(String userAgent)
userAgent - The user agentpublic List<WEFResource> getDependencies()
WEFResourcegetDependencies in interface WEFResourcepublic void setDependencies(List<WEFResource> dependencies)
dependencies - List of dependenciespublic String getContainer()
WEFResourcegetContainer in interface WEFResourcepublic void setContainer(String container)
container - The containerCopyright © 2005–2016 Alfresco Software. All rights reserved.