public class RelatedProductsHandler.Relationship extends RelationshipType
RelationshipType that contains a
collection of the products related to the relationship type. This class
also alters the Comparator sequence to include the sort code.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDINGivHashCode, ivHashFlds, ivObjAttrs| Modifier | Constructor and Description |
|---|---|
protected |
Relationship(Product product)
Constructs a new relationship.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAnchor()
Returns the anchor name used to navigate from the summary list of
relationships to the respective relationship's list of products .
|
java.util.ArrayList<Product> |
getProducts()
Returns the relationship's collection of related products.
|
void |
setProducts(java.util.ArrayList<Product> value)
Set the relationship's collection of related products.
|
getCode, getDescription, getSelectable, getSortCode, setCode, setDescription, setSelectable, setSortCodeafter, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatuscloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArrayprivate static final long serialVersionUID
protected Relationship(Product product)
product - (Product) A product object that was derived from the
getRelationships SQL result set.public java.lang.String getAnchor()
public java.util.ArrayList<Product> getProducts()
public void setProducts(java.util.ArrayList<Product> value)
value - (ArrayList) The related products.