Class ResourceReference
java.lang.Object
nl.siegmann.epublib.domain.ResourceReference
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SpineReference, TitledResourceReference
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe id of the reference referred to.voidsetResource(Resource resource) Besides setting the resource it also sets the fragmentId to null.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
resource
-
-
Constructor Details
-
ResourceReference
-
-
Method Details
-
getResource
-
setResource
Besides setting the resource it also sets the fragmentId to null.- Parameters:
resource-
-
getResourceId
The id of the reference referred to. null of the reference is null or has a null id itself.- Returns:
- The id of the reference referred to.
-