
net.dona.doip.client.Element Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doip-sdk Show documentation
Show all versions of doip-sdk Show documentation
DOIP Software Development Kit that implements DOIP v2 Specification.
package net.dona.doip.client;
import com.google.gson.JsonObject;
import java.io.InputStream;
/**
* A Java representation of an element of a Digital Object.
*/
public class Element {
/**
* The id of the element.
*/
public String id;
/**
* The size of the element. May be null when the size is unknown.
*/
public Long length;
/**
* The type of the element.
*/
public String type;
/**
* The attributes of the element.
*/
public JsonObject attributes;
/**
* The bytes of the element, as an {@code InputStream}.
*/
public transient InputStream in;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy