public class Resource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Resource.LifecycleState
The Enum LifecycleState.
|
static class |
Resource.Type
The Enum Type.
|
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Collection<Artifact> |
getArtifacts()
Gets the artifacts.
|
String |
getCategory()
Gets the category.
|
String |
getDescription()
Gets the description.
|
String |
getInvariantUUID()
Gets the invariant UUID.
|
String |
getLastUpdaterFullName()
Gets the last updater full name.
|
String |
getLastUpdaterUserId()
Gets the last updater user ID.
|
Resource.LifecycleState |
getLifecycleState()
Gets the lifecycle state.
|
String |
getName()
Gets the name.
|
Collection<SubResource> |
getResources()
Gets the resources.
|
Resource.Type |
getResourceType()
Gets the resource type.
|
String |
getSubCategory()
Gets the sub category.
|
String |
getToscaModel()
Gets the tosca model.
|
String |
getToscaModelURL()
Gets the tosca model URL.
|
String |
getToscaResourceName()
Gets the tosca resource name.
|
String |
getUuid()
Gets the uuid.
|
String |
getVersion()
Gets the version.
|
int |
hashCode() |
void |
setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts.
|
void |
setCategory(String category)
Sets the category.
|
void |
setDescription(String description)
Sets the description.
|
void |
setInvariantUUID(String invariantUUID)
Sets the invariant UUID.
|
void |
setLastUpdaterFullName(String lastUpdaterFullName)
Sets the last updater full name.
|
void |
setLastUpdaterUserId(String lastUpdaterUserId)
Sets the last updater user ID.
|
void |
setLifecycleState(Resource.LifecycleState lifecycleState)
Sets the lifecycle state.
|
void |
setName(String name)
Sets the name.
|
void |
setResources(Collection<SubResource> resources)
Sets the resources.
|
void |
setResourceType(Resource.Type resourceType)
Sets the resource type.
|
void |
setSubCategory(String subCategory)
Sets the sub category.
|
void |
setToscaModel(String toscaModel)
Sets the tosca model.
|
void |
setToscaModelURL(String toscaModelURL)
Sets the tosca model URL.
|
void |
setToscaResourceName(String toscaResourceName)
Sets the tosca resource name.
|
void |
setUuid(String uuid)
Sets the uuid.
|
void |
setVersion(String version)
Sets the version.
|
public String getUuid()
public String getInvariantUUID()
public String getName()
public String getDescription()
public String getVersion()
public String getToscaModelURL()
public String getCategory()
public String getSubCategory()
public Resource.Type getResourceType()
public Resource.LifecycleState getLifecycleState()
public String getLastUpdaterUserId()
public String getLastUpdaterFullName()
public String getToscaModel()
public String getToscaResourceName()
public Collection<Artifact> getArtifacts()
public Collection<SubResource> getResources()
public void setUuid(String uuid)
uuid
- the new uuidpublic void setInvariantUUID(String invariantUUID)
invariantUUID
- the new invariant UUIDpublic void setName(String name)
name
- the new namepublic void setDescription(String description)
name
- the new descriptionpublic void setVersion(String version)
version
- the new versionpublic void setToscaModelURL(String toscaModelURL)
toscaModelURL
- the new tosca model URLpublic void setCategory(String category)
category
- the new categorypublic void setSubCategory(String subCategory)
subCategory
- the new sub categorypublic void setResourceType(Resource.Type resourceType)
resourceType
- the new resource typepublic void setLifecycleState(Resource.LifecycleState lifecycleState)
lifecycleState
- the new lifecycle statepublic void setLastUpdaterUserId(String lastUpdaterUserId)
lastUpdaterUserId
- the new last updater user IDpublic void setLastUpdaterFullName(String lastUpdaterFullName)
lastUpdaterFullName
- the new last updater full namepublic void setToscaModel(String toscaModel)
toscaModel
- the new tosca modelpublic void setToscaResourceName(String toscaResourceName)
toscaResourceName
- the new tosca resource namepublic void setArtifacts(Collection<Artifact> artifacts)
artifacts
- the new artifactspublic void setResources(Collection<SubResource> resources)
resources
- the new resourcesCopyright © 2017. All rights reserved.