@MappedSuperclass public abstract class Identifiable extends Object implements Serializable
Constructor and Description |
---|
Identifiable() |
Identifiable(String guid,
String home,
Set<Slot> slots) |
Modifier and Type | Method and Description |
---|---|
void |
addSlot(Slot slot)
Convenience method to add a slot to the set of slots.
|
boolean |
equals(Object obj) |
String |
getGuid() |
String |
getHome() |
Slot |
getSlot(String slotName)
Convenience method to look up a slot with a given name.
|
Set<Slot> |
getSlots() |
int |
hashCode() |
void |
setGuid(String guid) |
void |
setHome(String home) |
void |
setSlots(Set<Slot> slots) |
public String getGuid()
public String getHome()
public void setGuid(String guid)
guid
- the global unique identifier to setpublic void setHome(String home)
home
- the home to setpublic Slot getSlot(String slotName)
slotName
- to look for within the list of slotspublic void addSlot(Slot slot)
slot
- to be addedCopyright © 2010–2015 Planetary Data System. All rights reserved.