public class CatalogImpl extends LinkedHashMap<String,ReferenceType> implements Catalog
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CatalogImpl(String name,
String type,
URI href,
ReferenceType org,
String description,
Map<String,ReferenceType> contents,
Iterable<Task> tasks,
boolean published,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ReferenceType o) |
boolean |
equals(Object obj) |
String |
getDescription()
optional description
|
URI |
getHref() |
String |
getName() |
ReferenceType |
getOrg()
Reference to the org containing this vDC.
|
List<Task> |
getTasks()
read‐only container for Task elements.
|
String |
getType() |
int |
hashCode() |
boolean |
isPublished()
read‐only element, true if the catalog is published
|
boolean |
isReadOnly() |
clear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuestoStringpublic CatalogImpl(String name, String type, URI href, ReferenceType org, @Nullable String description, Map<String,ReferenceType> contents, Iterable<Task> tasks, boolean published, boolean readOnly)
public URI getHref()
getHref in interface ReferenceTypepublic String getName()
getName in interface ReferenceTypepublic ReferenceType getOrg()
public String getDescription()
getDescription in interface Catalogpublic String getType()
getType in interface ReferenceTypeVCloudMediaTypepublic List<Task> getTasks()
public boolean isPublished()
isPublished in interface Catalogpublic boolean isReadOnly()
isReadOnly in interface Catalogpublic int hashCode()
hashCode in interface Map<String,ReferenceType>hashCode in class AbstractMap<String,ReferenceType>public boolean equals(Object obj)
equals in interface Map<String,ReferenceType>equals in class AbstractMap<String,ReferenceType>public int compareTo(ReferenceType o)
compareTo in interface Comparable<ReferenceType>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.