com.projectdarkstar.tools.dtc.domain
Class HardwareResourceFamily
java.lang.Object
com.projectdarkstar.tools.dtc.domain.HardwareResourceFamily
- All Implemented Interfaces:
- Serializable
public class HardwareResourceFamily
- extends Object
- implements Serializable
Represents a family of resources. Each resource in the family should
have a common set of attributes.
- See Also:
- Serialized Form
HardwareResourceFamily
public HardwareResourceFamily()
HardwareResourceFamily
public HardwareResourceFamily(String name,
String description,
String system,
String os,
String memory)
getId
public Long getId()
- Returns the id of the entity in persistent storage
- Returns:
- id of the entity
setId
public void setId(Long id)
getVersionNumber
public Long getVersionNumber()
- Returns the version number in the data store that this entity represents.
Whenever an update to an object is pushed to the persistent data
store, the version number is incremented.
- Returns:
- version number of the entity
setVersionNumber
public void setVersionNumber(Long versionNumber)
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getSystem
public String getSystem()
setSystem
public void setSystem(String system)
getMemory
public String getMemory()
setMemory
public void setMemory(String memory)
getOs
public String getOs()
setOs
public void setOs(String os)
getMembers
public List<HardwareResource> getMembers()
setMembers
public void setMembers(List<HardwareResource> members)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013. All Rights Reserved.