public abstract class CatalogItemDtoAbstract<T,SpecT> extends AbstractBrooklynObject implements CatalogItem<T,SpecT>
CatalogItem.CatalogItemLibraries, CatalogItem.CatalogItemType
BrooklynObject.TagSupport
Constructor and Description |
---|
CatalogItemDtoAbstract() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName()
A display name; recommended to be a concise single-line description.
|
java.lang.String |
getIconUrl() |
java.lang.String |
getId() |
java.lang.String |
getJavaType() |
CatalogItem.CatalogItemLibraries |
getLibraries() |
CatalogLibrariesDto |
getLibrariesDto() |
java.lang.String |
getName()
Deprecated.
|
java.lang.String |
getPlanYaml() |
RebindSupport<CatalogItemMemento> |
getRebindSupport() |
java.lang.String |
getRegisteredTypeName() |
abstract java.lang.Class<SpecT> |
getSpecType() |
java.lang.String |
getVersion() |
void |
setCatalogItemId(java.lang.String id)
Use of this method is discouraged unless it is assigning the same (final) ID that this object already has.
|
void |
setDisplayName(java.lang.String newName) |
BrooklynObject.TagSupport |
tags()
Tags are arbitrary objects which can be attached to an entity for subsequent reference.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getCatalogItemId, getManagementContext, getTagSupport, init, rebind, setManagementContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCatalogItemId, getCatalogItemJavaType, getCatalogItemType
getTagSupport
public java.lang.String getId()
getId
in interface Identifiable
getId
in class AbstractBrooklynObject
public java.lang.String getRegisteredTypeName()
getRegisteredTypeName
in interface CatalogItem<T,SpecT>
public java.lang.String getJavaType()
getJavaType
in interface CatalogItem<T,SpecT>
@Deprecated public java.lang.String getName()
getName
in interface CatalogItem<T,SpecT>
public java.lang.String getDisplayName()
BrooklynObject
getDisplayName
in interface BrooklynObject
public java.lang.String getDescription()
getDescription
in interface CatalogItem<T,SpecT>
public java.lang.String getIconUrl()
getIconUrl
in interface CatalogItem<T,SpecT>
public java.lang.String getVersion()
getVersion
in interface CatalogItem<T,SpecT>
@Nonnull public CatalogItem.CatalogItemLibraries getLibraries()
getLibraries
in interface CatalogItem<T,SpecT>
public CatalogLibrariesDto getLibrariesDto()
@Nullable public java.lang.String getPlanYaml()
getPlanYaml
in interface CatalogItem<T,SpecT>
public java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.Class<SpecT> getSpecType()
getSpecType
in interface CatalogItem<T,SpecT>
CatalogItem.getCatalogItemJavaType()
public java.lang.String toXmlString()
toXmlString
in interface CatalogItem<T,SpecT>
public RebindSupport<CatalogItemMemento> getRebindSupport()
getRebindSupport
in interface CatalogItem<T,SpecT>
getRebindSupport
in interface Rebindable
public void setDisplayName(java.lang.String newName)
setDisplayName
in class AbstractBrooklynObject
public BrooklynObject.TagSupport tags()
BrooklynObject
ImmutableMap
may be used under the covers; also there is little point!);
and they should be amenable to our persistence (on-disk serialization) and our JSON serialization in the REST API.tags
in interface BrooklynObject
tags
in class AbstractBrooklynObject
public void setCatalogItemId(java.lang.String id)
setCatalogItemId
in interface BrooklynObjectInternal
setCatalogItemId
in class AbstractBrooklynObject