Class MultiStatementLink
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractReifiedResource<URI>
org.eclipse.lyo.oslc4j.core.model.MultiStatementLink
- All Implemented Interfaces:
IReifiedResource<URI>
Holds multiple arbitrary reified statements associated with a link.
Important: This class is designed for unmarshalling only.
It captures reified metadata when reading RDF data, but this metadata is not preserved
during serialization (marshalling). When a MultiStatementLink is re-serialized to RDF,
only the URI reference is written; all statements stored in the internal map are discarded.
This means that round-trip processing (read → modify → write) will lose the reified
metadata. If you need to preserve reified statements during serialization, you must use
IExtendedResource with appropriate OSLC annotations, or implement custom marshalling logic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatement(QName qName, Object object) voidsetStatements(Map<QName, Object> statements) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractReifiedResource
getValue, setValue
-
Constructor Details
-
MultiStatementLink
public MultiStatementLink() -
MultiStatementLink
-
-
Method Details
-
setStatements
-
getStatements
-
addStatement
-