org.jclouds.trmk.vcloud_0_8.domain.internal
Class CatalogImpl
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,ReferenceType>
org.jclouds.trmk.vcloud_0_8.domain.internal.CatalogImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<ReferenceType>, Map<String,ReferenceType>, Catalog, ReferenceType
public class CatalogImpl
- extends LinkedHashMap<String,ReferenceType>
- implements Catalog
Locations of resources in vCloud
- Author:
- Adrian Cole
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
CatalogImpl
public CatalogImpl(String name,
String type,
URI href,
@Nullable
String description,
Map<String,ReferenceType> contents)
getHref
public URI getHref()
-
- Specified by:
getHref
in interface ReferenceType
- Returns:
- hyperlink to the referenced object
getName
public String getName()
-
- Specified by:
getName
in interface ReferenceType
- Returns:
- name of the referenced object.
getDescription
public String getDescription()
- optional description
- Specified by:
getDescription
in interface Catalog
getType
public String getType()
-
- Specified by:
getType
in interface ReferenceType
- Returns:
- object type, expressed as the media type of the XML representing of the object
- See Also:
VCloudMediaType
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map<String,ReferenceType>
- Overrides:
hashCode
in class AbstractMap<String,ReferenceType>
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Map<String,ReferenceType>
- Overrides:
equals
in class AbstractMap<String,ReferenceType>
compareTo
public int compareTo(ReferenceType o)
- Specified by:
compareTo
in interface Comparable<ReferenceType>
Copyright © 2009-2011 jclouds. All Rights Reserved.