com.opensymphony.xwork.config.entities
Class ExternalReference
java.lang.Object
com.opensymphony.xwork.config.entities.ExternalReference
- All Implemented Interfaces:
- java.io.Serializable
public class ExternalReference
- extends java.lang.Object
- implements java.io.Serializable
Encapsulates an external reference in the xwork configuration.
- Author:
- Ross, Rainer Hermanns
- See Also:
- Serialized Form
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(java.lang.String name,
java.lang.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(java.lang.String externalRef)
- Parameters:
externalRef
- The externalRef to set.
getExternalRef
public java.lang.String getExternalRef()
- Returns:
- Returns the externalRef.
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
getName
public java.lang.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.