Class RelationshipLinkAdapter
- java.lang.Object
- 
- javax.xml.bind.annotation.adapters.XmlAdapter<org.eclipse.persistence.internal.jpa.rs.metadata.model.Link,org.eclipse.persistence.internal.weaving.RelationshipInfo>
- 
- org.eclipse.persistence.jpa.rs.util.xmladapters.RelationshipLinkAdapter
 
 
- 
 public class RelationshipLinkAdapter extends XmlAdapter<org.eclipse.persistence.internal.jpa.rs.metadata.model.Link,org.eclipse.persistence.internal.weaving.RelationshipInfo> 
- 
- 
Constructor SummaryConstructors Constructor Description RelationshipLinkAdapter()RelationshipLinkAdapter(java.lang.String baseURI, PersistenceContext context)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.persistence.internal.jpa.rs.metadata.model.Linkmarshal(org.eclipse.persistence.internal.weaving.RelationshipInfo v)Convert a bound type to a value type.org.eclipse.persistence.internal.weaving.RelationshipInfounmarshal(org.eclipse.persistence.internal.jpa.rs.metadata.model.Link v)Convert a value type to a bound type.
 
- 
- 
- 
Constructor Detail- 
RelationshipLinkAdapterpublic RelationshipLinkAdapter() 
 - 
RelationshipLinkAdapterpublic RelationshipLinkAdapter(java.lang.String baseURI, PersistenceContext context)
 
- 
 - 
Method Detail- 
unmarshalpublic org.eclipse.persistence.internal.weaving.RelationshipInfo unmarshal(org.eclipse.persistence.internal.jpa.rs.metadata.model.Link v) throws java.lang.ExceptionDescription copied from class:XmlAdapterConvert a value type to a bound type.- Specified by:
- unmarshalin class- XmlAdapter<org.eclipse.persistence.internal.jpa.rs.metadata.model.Link,org.eclipse.persistence.internal.weaving.RelationshipInfo>
- Parameters:
- v- The value to be converted. Can be null.
- Throws:
- java.lang.Exception- if there's an error during the conversion. The caller is responsible for reporting the error to the user through- ValidationEventHandler.
 
 - 
marshalpublic org.eclipse.persistence.internal.jpa.rs.metadata.model.Link marshal(org.eclipse.persistence.internal.weaving.RelationshipInfo v) throws java.lang.ExceptionDescription copied from class:XmlAdapterConvert a bound type to a value type.- Specified by:
- marshalin class- XmlAdapter<org.eclipse.persistence.internal.jpa.rs.metadata.model.Link,org.eclipse.persistence.internal.weaving.RelationshipInfo>
- Parameters:
- v- The value to be convereted. Can be null.
- Throws:
- java.lang.Exception- if there's an error during the conversion. The caller is responsible for reporting the error to the user through- ValidationEventHandler.
 
 
- 
 
-