Package pl.edu.icm.unity.attr
Class LinkableImage
- java.lang.Object
-
- pl.edu.icm.unity.attr.LinkableImage
-
public class LinkableImage extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static LinkableImage
EMPTY
-
Constructor Summary
Constructors Constructor Description LinkableImage(URL url, UUID externalId)
LinkableImage(UnityImage image, UUID externalId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
UUID
getExternalId()
UnityImage
getUnityImage()
URL
getUrl()
int
hashCode()
String
toJsonString()
String
toString()
static LinkableImage
valueOf(String stringRepresentation)
-
-
-
Field Detail
-
EMPTY
public static final LinkableImage EMPTY
-
-
Constructor Detail
-
LinkableImage
public LinkableImage(UnityImage image, UUID externalId)
-
-
Method Detail
-
getUnityImage
public UnityImage getUnityImage()
-
getUrl
public URL getUrl()
-
getExternalId
public UUID getExternalId()
-
toJsonString
public String toJsonString()
-
valueOf
public static LinkableImage valueOf(String stringRepresentation) throws IOException
- Throws:
IOException
-
-