|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jp.protection.pub.ProductInfo.ProductInfoLink
public static class ProductInfo.ProductInfoLink
Class that holds the properties of a product information links such as text, tooltip text and URL.
Field Summary | |
---|---|
protected java.lang.String |
fID
|
protected ProductInfo |
fProductInfo
|
protected java.lang.String |
fText
|
protected java.lang.String |
fTooltip
|
protected java.lang.String |
fURL
|
static java.lang.String |
PROPERTY_ID
|
static java.lang.String |
PROPERTY_TEXT
|
static java.lang.String |
PROPERTY_TOOLTIP
|
static java.lang.String |
PROPERTY_URL
|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
ProductInfo.ProductInfoLink()
Creates a new instance of the ProductInfoLink |
|
ProductInfo.ProductInfoLink(java.lang.String aID)
Creates a new instance of the ProductInfoLink and assigns identifier |
|
ProductInfo.ProductInfoLink(java.lang.String aID,
java.lang.String aText,
java.lang.String aURL,
java.lang.String aTooltip)
Creates a new instance of the ProductInfoLink and initializes all major attributes |
Method Summary | |
---|---|
java.lang.String |
getID()
Returns product link's identifier |
ProductInfo |
getProductInfo()
Returns product information that belongs to the product link |
java.lang.String |
getText()
Returns product link's text |
java.lang.String |
getTooltip()
Returns product link's tooltip text |
java.lang.String |
getURL()
Returns product link's tooltip URL |
void |
setID(java.lang.String aID)
Specifies product link's identifier |
void |
setProductInfo(ProductInfo aProductInfo)
Associate product link with the product information |
void |
setText(java.lang.String aText)
Specifies product link's text |
void |
setTooltip(java.lang.String aTooltip)
Specifies product link's tooltip text |
void |
setURL(java.lang.String aURL)
Specifies product link's URL |
void |
update(ProductInfo.ProductInfoLink aProductInfoLink)
Copies values of text, tooltip text and URL from the specified product link |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
public static final java.lang.String PROPERTY_ID
public static final java.lang.String PROPERTY_TEXT
public static final java.lang.String PROPERTY_URL
public static final java.lang.String PROPERTY_TOOLTIP
protected java.lang.String fID
protected java.lang.String fText
protected java.lang.String fURL
protected java.lang.String fTooltip
protected ProductInfo fProductInfo
Constructor Detail |
---|
public ProductInfo.ProductInfoLink()
ProductInfoLink
public ProductInfo.ProductInfoLink(java.lang.String aID)
ProductInfoLink
and assigns identifier
aID
- identifier to assignpublic ProductInfo.ProductInfoLink(java.lang.String aID, java.lang.String aText, java.lang.String aURL, java.lang.String aTooltip)
ProductInfoLink
and initializes all major attributes
aID
- StringaText
- StringaURL
- StringaTooltip
- StringMethod Detail |
---|
public java.lang.String getID()
public void setID(java.lang.String aID)
aID
- product link's identifierpublic java.lang.String getText()
public void setText(java.lang.String aText)
aText
- product link's textpublic java.lang.String getTooltip()
public void setTooltip(java.lang.String aTooltip)
aTooltip
- product link's tooltip textpublic java.lang.String getURL()
public void setURL(java.lang.String aURL)
aURL
- product link's URLpublic void update(ProductInfo.ProductInfoLink aProductInfoLink)
aProductInfoLink
- product link to copy attributes frompublic ProductInfo getProductInfo()
ProductInfo
instancepublic void setProductInfo(ProductInfo aProductInfo)
aProductInfo
- a ProductInfo
instance to associate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |