gov.nasa.pds.registry.model
Class Identifiable
java.lang.Object
gov.nasa.pds.registry.model.Identifiable
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ObjectRef, RegistryObject
@MappedSuperclass
public abstract class Identifiable
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Identifiable
public Identifiable()
Identifiable
public Identifiable(String guid,
String home,
Set<Slot> slots)
getGuid
public String getGuid()
- Returns:
- the guid
getHome
public String getHome()
- Returns:
- the home
setGuid
public void setGuid(String guid)
- Parameters:
guid
- the global unique identifier to set
setHome
public void setHome(String home)
- Parameters:
home
- the home to set
getSlots
public Set<Slot> getSlots()
- Returns:
- the slots
setSlots
public void setSlots(Set<Slot> slots)
- Parameters:
slots
- the slots to set
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2005-2010 Planetary Data System. All Rights Reserved.