Package org.opentcs.data
Class TCSObjectReference<E extends TCSObject<E>>
java.lang.Object
org.opentcs.data.TCSObjectReference<E>
- Type Parameters:
E
- The actual object class.
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TCSResourceReference
A transient reference to a
TCSObject
.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TCSObjectReference
(TCSObject<E> referent) Creates a new TCSObjectReference. -
Method Summary
-
Constructor Details
-
TCSObjectReference
Creates a new TCSObjectReference.- Parameters:
referent
- The object this reference references.
-
-
Method Details
-
getReferentClass
Returns the referenced object's class.- Returns:
- The referenced object's class.
-
getName
Returns the referenced object's name.- Returns:
- The referenced object's name.
-
equals
-
hashCode
public int hashCode() -
toString
-