com.openmarket.xcelerate.common
Class DimParentRelationshipImpl

java.lang.Object
  extended by com.openmarket.xcelerate.common.DimParentRelationshipImpl
All Implemented Interfaces:
DimensionableAssetInstance.DimensionParentRelationship, java.io.Serializable

public final class DimParentRelationshipImpl
extends java.lang.Object
implements DimensionableAssetInstance.DimensionParentRelationship, java.io.Serializable

This class represent a dimension parent relationship implementation. The Dimension parent have a group name and an AssetId which is the parent asset of all the assets in the group.

Since:
29-Nov-2006 5:04:58 PM
See Also:
Serialized Form

Constructor Summary
DimParentRelationshipImpl(java.lang.String group, AssetId parent)
          Constructor of the Dimension parent
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getGroup()
          Retrieves the Dimension parent group name
 AssetId getParent()
          Retrieves the parent asset id of the Dimension parent group
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DimParentRelationshipImpl

public DimParentRelationshipImpl(java.lang.String group,
                                 AssetId parent)
Constructor of the Dimension parent

Parameters:
group - the name of the Dimension parent group, can not be null
parent - the id the of the parent asset, can not be null
Method Detail

getGroup

public java.lang.String getGroup()
Retrieves the Dimension parent group name

Specified by:
getGroup in interface DimensionableAssetInstance.DimensionParentRelationship
Returns:
String name of the Dimension parent group

getParent

public AssetId getParent()
Retrieves the parent asset id of the Dimension parent group

Specified by:
getParent in interface DimensionableAssetInstance.DimensionParentRelationship
Returns:
Asset id of the parent of this Dimension parent group

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.