Package org.opentcs.data.model
Class TCSResourceReference<E extends TCSResource<E>>
java.lang.Object
org.opentcs.data.TCSObjectReference<E>
org.opentcs.data.model.TCSResourceReference<E>
- Type Parameters:
E
- The actual resource class.
- All Implemented Interfaces:
java.io.Serializable
public class TCSResourceReference<E extends TCSResource<E>> extends TCSObjectReference<E> implements java.io.Serializable
A transient reference to a
TCSResource
.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Modifier Constructor Description protected
TCSResourceReference(TCSResource<E> newReferent)
Creates a new TCSResourceReference. -
Method Summary
Methods inherited from class org.opentcs.data.TCSObjectReference
equals, getName, getReferentClass, hashCode, toString
-
Constructor Details
-
TCSResourceReference
Creates a new TCSResourceReference.- Parameters:
newReferent
- The resource this reference references.
-