com.opensymphony.xwork.config.entities
Class ExternalReference
java.lang.Object
com.opensymphony.xwork.config.entities.ExternalReference
- public class ExternalReference
- extends Object
- Author:
- Ross
Encapsulates an external reference in the xwork configuration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalReference
public ExternalReference()
- default constructor
ExternalReference
public ExternalReference(String name,
String externalRef,
boolean required)
- Parameters:
name
- the name of the attribute the external reference refers toexternalRef
- the name used to query the external sourcerequired
- determines whether an exception should be thrown if the reference is not resolved
setExternalRef
public void setExternalRef(String externalRef)
- Parameters:
externalRef
- The externalRef to set.
getExternalRef
public String getExternalRef()
- Returns:
- Returns the externalRef.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
getName
public String getName()
- Returns:
- Returns the name.
setRequired
public void setRequired(boolean required)
- Parameters:
required
- The required to set.
isRequired
public boolean isRequired()
- Returns:
- Returns the required.