com.fatwire.gst.foundation.mapping
Class AssetName

java.lang.Object
  extended by com.fatwire.gst.foundation.mapping.AssetName

public final class AssetName
extends Object

Class that holds asset type and asset name, similar to AssetId.

Since:
Apr 13, 2011
Author:
Dolf Dijkstra
See Also:
AssetId

Constructor Summary
AssetName(String type, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 String getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssetName

public AssetName(String type,
                 String name)
Parameters:
type -
name -
Method Detail

getType

public String getType()
Returns:
the type

getName

public String getName()
Returns:
the name

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.