java.lang.Object | +--com.ibm.commerce.pa.beans.DynamicDataBeanImpl | +--com.ibm.commerce.pa.beans.ElementDataBean | +--com.ibm.commerce.pa.beans.GenericLinkDataBean
The GenericLinkDataBean represents a link to a metaphor page. It is assigned a specific metaphor. It will be visible on the page only if its metaphor is defined for the current store, category, and language that the shopper is shopping in.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
protected
java.lang.String |
image |
protected
java.lang.String |
linkPage |
protected
java.lang.String |
metaphor |
protected
boolean |
passConstraints |
protected
java.lang.String |
target |
protected
java.lang.String |
text |
Fields inherited from class com.ibm.commerce.pa.beans. ElementDataBean |
dataElement |
Fields inherited from class com.ibm.commerce.pa.beans. DynamicDataBeanImpl |
constraintList,
defaultWidget,
errorCode,
errorMessage,
interfaceName,
metaData,
pageName,
parent,
parentName,
requestProperties,
scriptName |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
GenericLinkDataBean() GenericLinkDataBean constructor. |
Method Summary | |
---|---|
java.lang.String |
getCommandInterfaceName() Returns the name of command which populates this bean. |
java.lang.String |
getImage() Returns the relative pathname of the image to use for the link. |
java.lang.String |
getLinkPage() Returns the relative url of the page to link to. |
java.lang.String |
getMetaphor() Returns the class name of the metaphor that this link represents. |
boolean |
getPassConstraints() Returns whether metaphor constraints passed into this page will be passed on to the page linked to. |
java.lang.String |
getTarget() Return the name of the target HTML frame. |
java.lang.String |
getText() Return the alternate text for this link. |
void |
setImage(java.lang.String newValue) Set the relative pathname of the image to use for this link. |
void |
setLinkPage(java.lang.String newValue) Set the relative url to link to. |
void |
setMetaphor(java.lang.String newValue) Set the name of the class for the metaphor that this link represents. |
void |
setPassConstraints(boolean newValue) Set whether metaphor constraints should be passed on to the page linked to. |
void |
setTarget(java.lang.String newValue) Set the name of the target HTML frame. |
void |
setText(java.lang.String newValue) Set the alternate text for the link. |
Methods inherited from class com.ibm.commerce.pa.beans. ElementDataBean |
copy,
getDataElement,
getRequestProperties,
setDataElement,
setRequestProperties |
Methods inherited from class com.ibm.commerce.pa.beans. DynamicDataBeanImpl |
addConstraint,
getConstraintList,
getDefaultWidget,
getErrorCode,
getErrorMessage,
getMetaData,
getPageName,
getParent,
getParentName,
getScriptName,
setCommandInterfaceName,
setConstraintList,
setDefaultWidget,
setErrorCode,
setErrorMessage,
setMetaData,
setPageName,
setParent,
setParentName,
setScriptName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected java.lang.String linkPage
protected java.lang.String image
protected java.lang.String text
protected java.lang.String target
protected boolean passConstraints
protected java.lang.String metaphor
Constructor Detail |
---|
public GenericLinkDataBean()
Method Detail |
---|
public java.lang.String getCommandInterfaceName()
getCommandInterfaceName
in interface
CommandDataBean
getCommandInterfaceName
in class
ElementDataBean
public java.lang.String getImage()
public java.lang.String getLinkPage()
public java.lang.String getMetaphor()
public boolean getPassConstraints()
public java.lang.String getTarget()
public java.lang.String getText()
public void setImage(java.lang.String newValue)
newValue
- java.lang.Stringpublic void setLinkPage(java.lang.String newValue)
newValue
- java.lang.Stringpublic void setMetaphor(java.lang.String newValue)
newValue
- java.lang.Stringpublic void setPassConstraints(boolean newValue)
newValue
- booleanpublic void setTarget(java.lang.String newValue)
newValue
- java.lang.Stringpublic void setText(java.lang.String newValue)
newValue
- java.lang.String