public class RelationshipLinkAdapter extends XmlAdapter<org.eclipse.persistence.internal.jpa.rs.metadata.model.Link,org.eclipse.persistence.internal.jpa.rs.weaving.RelationshipInfo>
Constructor and Description |
---|
RelationshipLinkAdapter() |
RelationshipLinkAdapter(String baseURI,
PersistenceContext context) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.persistence.internal.jpa.rs.metadata.model.Link |
marshal(org.eclipse.persistence.internal.jpa.rs.weaving.RelationshipInfo v)
Convert a bound type to a value type.
|
org.eclipse.persistence.internal.jpa.rs.weaving.RelationshipInfo |
unmarshal(org.eclipse.persistence.internal.jpa.rs.metadata.model.Link v)
Convert a value type to a bound type.
|
public RelationshipLinkAdapter()
public RelationshipLinkAdapter(String baseURI, PersistenceContext context)
public org.eclipse.persistence.internal.jpa.rs.weaving.RelationshipInfo unmarshal(org.eclipse.persistence.internal.jpa.rs.metadata.model.Link v) throws Exception
XmlAdapter
unmarshal
in class XmlAdapter<org.eclipse.persistence.internal.jpa.rs.metadata.model.Link,org.eclipse.persistence.internal.jpa.rs.weaving.RelationshipInfo>
v
- The value to be converted. Can be null.Exception
- if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler
.public org.eclipse.persistence.internal.jpa.rs.metadata.model.Link marshal(org.eclipse.persistence.internal.jpa.rs.weaving.RelationshipInfo v) throws Exception
XmlAdapter
marshal
in class XmlAdapter<org.eclipse.persistence.internal.jpa.rs.metadata.model.Link,org.eclipse.persistence.internal.jpa.rs.weaving.RelationshipInfo>
v
- The value to be convereted. Can be null.Exception
- if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler
.Copyright © 2017–2020 Eclipse.org - EclipseLink Project. All rights reserved.