public class Resource extends UpdateManagedEntity implements AttributedElement<ResourceAttribute>, Serializable
Constructor and Description |
---|
Resource() |
Resource(String gridId,
String resourceId) |
Resource(String gridId,
String resourceId,
String resourceName,
String resourceTypeDomainId,
String resourceTypeId) |
equals, equalsIgnoreDates, getCreatedDateTime, getUpdatedDateTime, hashCode, setCreatedDateTime, setUpdatedDateTime, touchUpdatedDateTime
public String getGridId()
public void setGridId(String gridId)
public ResourceAttribute getAttribute(String name)
getAttribute
in interface AttributedElement<ResourceAttribute>
public Collection<ResourceAttribute> getAttributes()
getAttributes
in interface AttributedElement<ResourceAttribute>
public void setAttributes(Collection<ResourceAttribute> attributes)
setAttributes
in interface AttributedElement<ResourceAttribute>
public String getAttributeValue(String attributeName)
getAttributeValue
in interface AttributedElement<ResourceAttribute>
public String getCopyrightInfo()
public String getCpuInfo()
public String getLicenseInfo()
public String getMemoryInfo()
public String getOwnerUserId()
public String getResourceDescription()
public String getResourceId()
public String getResourceName()
public String getSpecialNoteInfo()
public String getResourceTypeDomainId()
public void setResourceTypeDomainId(String resourceTypeDomainId)
public String getResourceTypeId()
public void setResourceTypeId(String resourceTypeId)
public String getOsInfo()
public boolean isActive()
public boolean isVisible()
public void removeAttribute(String attributeName)
removeAttribute
in interface AttributedElement<ResourceAttribute>
public void setActive(boolean active)
public void setAttribute(ResourceAttribute attribute)
setAttribute
in interface AttributedElement<ResourceAttribute>
public void setAttributeValue(String attributeName, String attributeValue)
setAttributeValue
in interface AttributedElement<ResourceAttribute>
public void setCopyrightInfo(String copyrightInfo)
public void setCpuInfo(String cpuInfo)
public void setLicenseInfo(String licenseInfo)
public void setMemoryInfo(String memoryInfo)
public void setOwnerUserId(String ownerUserId)
public void setResourceDescription(String serviceDescription)
public void setResourceId(String serviceId)
public void setResourceName(String serviceName)
public void setSpecialNoteInfo(String specialNoteInfo)
public void setVisible(boolean visible)
public void setOsInfo(String osInfo)
public boolean isApproved()
public void setApproved(boolean approved)
public String toString()
toString
in class UpdateManagedEntity
protected org.apache.commons.lang.builder.EqualsBuilder appendSpecialEquals(org.apache.commons.lang.builder.EqualsBuilder builder, Object value, Collection<String> appendedFields, boolean ignoreDates)
appendSpecialEquals
in class UpdateManagedEntity
protected org.apache.commons.lang.builder.HashCodeBuilder appendSpecialHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder, Collection<String> appendedFields)
appendSpecialHashCode
in class UpdateManagedEntity