Package org.n52.shetland.w3c.xlink
Class Referenceable<T>
- java.lang.Object
-
- org.n52.shetland.w3c.xlink.Referenceable<T>
-
public abstract class Referenceable<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description Referenceable()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanequals(Object obj)abstract Nillable<T>getInstance()abstract ReferencegetReference()abstract inthashCode()abstract booleanisAbsent()abstract booleanisInstance()abstract booleanisReference()abstract <X> Referenceable<X>map(Function<T,X> fun)static <T> Referenceable<T>of(URI reference)static <T> Referenceable<T>of(Nillable<T> obj)static <T> Referenceable<T>of(Reference reference)static <T> Referenceable<T>of(T obj)
-
-
-
Method Detail
-
getReference
public abstract Reference getReference()
-
isInstance
public abstract boolean isInstance()
-
isReference
public abstract boolean isReference()
-
isAbsent
public abstract boolean isAbsent()
-
map
public abstract <X> Referenceable<X> map(Function<T,X> fun)
-
of
public static <T> Referenceable<T> of(URI reference)
-
of
public static <T> Referenceable<T> of(Reference reference)
-
of
public static <T> Referenceable<T> of(T obj)
-
of
public static <T> Referenceable<T> of(Nillable<T> obj)
-
-