public abstract class ResourceMetadataImpl<T extends Enum<T>> extends Object implements ResourceMetadata<T>, Serializable
| Constructor and Description |
|---|
ResourceMetadataImpl(String providerId,
String name,
Location location,
URI uri,
Map<String,String> userMetadata) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ResourceMetadata<T> that) |
boolean |
equals(Object o) |
Location |
getLocation()
Physical location of the resource, or null if n/a
ex.
|
String |
getName()
Name of this resource.
|
String |
getProviderId()
Unique identifier of this resource within its enclosing namespace.
|
URI |
getUri()
URI used to access this resource
|
Map<String,String> |
getUserMetadata()
Any key-value pairs associated with the resource.
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypepublic int compareTo(ResourceMetadata<T> that)
compareTo in interface Comparable<ResourceMetadata<T extends Enum<T>>>public String getProviderId()
getProviderId in interface ResourceMetadata<T extends Enum<T>>public String getName()
getName in interface ResourceMetadata<T extends Enum<T>>public Location getLocation()
getLocation in interface ResourceMetadata<T extends Enum<T>>public URI getUri()
getUri in interface ResourceMetadata<T extends Enum<T>>public Map<String,String> getUserMetadata()
getUserMetadata in interface ResourceMetadata<T extends Enum<T>>protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.