com.fatwire.gst.foundation.controller
Class AssetIdWithSite
java.lang.Object
com.fatwire.gst.foundation.controller.AssetIdWithSite
- All Implemented Interfaces:
- com.fatwire.assetapi.data.AssetId, Serializable, Comparable<AssetIdWithSite>
public class AssetIdWithSite
- extends Object
- implements com.fatwire.assetapi.data.AssetId, Comparable<AssetIdWithSite>, Serializable
AssetId with SiteName attached to it
- Since:
- Jun 17, 2010
- Author:
- Dolf Dijkstra
- See Also:
- Serialized Form
AssetIdWithSite
public AssetIdWithSite(com.fatwire.assetapi.data.AssetId id,
String site)
AssetIdWithSite
public AssetIdWithSite(String type,
long id,
String site)
getId
public long getId()
- Specified by:
getId
in interface com.fatwire.assetapi.data.AssetId
getType
public String getType()
- Specified by:
getType
in interface com.fatwire.assetapi.data.AssetId
getAssetId
public com.fatwire.assetapi.data.AssetId getAssetId()
getSite
public String getSite()
- Returns:
- the site
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(AssetIdWithSite o)
- Specified by:
compareTo
in interface Comparable<AssetIdWithSite>
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.