EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.util.xmladapters
Class RelationshipLinkAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<org.eclipse.persistence.internal.jpa.rs.metadata.model.Link,org.eclipse.persistence.internal.weaving.RelationshipInfo>
      extended by 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 Summary
RelationshipLinkAdapter()
           
RelationshipLinkAdapter(java.lang.String baseURI, PersistenceContext context)
           
 
Method Summary
 org.eclipse.persistence.internal.jpa.rs.metadata.model.Link marshal(org.eclipse.persistence.internal.weaving.RelationshipInfo v)
          Convert a bound type to a value type.
 org.eclipse.persistence.internal.weaving.RelationshipInfo unmarshal(org.eclipse.persistence.internal.jpa.rs.metadata.model.Link v)
          Convert a value type to a bound type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipLinkAdapter

public RelationshipLinkAdapter()

RelationshipLinkAdapter

public RelationshipLinkAdapter(java.lang.String baseURI,
                               PersistenceContext context)
Method Detail

unmarshal

public org.eclipse.persistence.internal.weaving.RelationshipInfo unmarshal(org.eclipse.persistence.internal.jpa.rs.metadata.model.Link v)
                                                                    throws java.lang.Exception
Description copied from class: XmlAdapter
Convert a value type to a bound type.

Specified by:
unmarshal in 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.

marshal

public org.eclipse.persistence.internal.jpa.rs.metadata.model.Link marshal(org.eclipse.persistence.internal.weaving.RelationshipInfo v)
                                                                    throws java.lang.Exception
Description copied from class: XmlAdapter
Convert a bound type to a value type.

Specified by:
marshal in 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.

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference