com.fatwire.gst.foundation.mapping
Class AssetName
java.lang.Object
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
AssetName
public AssetName(String type,
String name)
- Parameters:
type
- name
-
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.