org.jvnet.hyperjaxb3.ejb.schemas.customizations
Class ManyToOne

java.lang.Object
  extended by com.sun.java.xml.ns.persistence.orm.ManyToOne
      extended by org.jvnet.hyperjaxb3.ejb.schemas.customizations.ManyToOne
All Implemented Interfaces:
Cloneable, Mergeable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom

public class ManyToOne
extends ManyToOne
implements Cloneable, Mergeable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom

Java class for many-to-one complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="many-to-one">
   <complexContent>
     <extension base="{http://java.sun.com/xml/ns/persistence/orm}many-to-one">
       <attribute name="merge" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Boolean merge
           
 
Fields inherited from class com.sun.java.xml.ns.persistence.orm.ManyToOne
access, cascade, fetch, id, joinColumn, joinTable, mapsId, name, optional, targetEntity
 
Constructor Summary
ManyToOne()
           
 
Method Summary
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isMerge()
          Gets the value of the merge property.
 void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setMerge(Boolean value)
          Sets the value of the merge property.
 
Methods inherited from class com.sun.java.xml.ns.persistence.orm.ManyToOne
getAccess, getCascade, getFetch, getJoinColumn, getJoinTable, getMapsId, getName, getTargetEntity, isId, isOptional, setAccess, setCascade, setFetch, setId, setJoinTable, setMapsId, setName, setOptional, setTargetEntity
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

merge

protected Boolean merge
Constructor Detail

ManyToOne

public ManyToOne()
Method Detail

isMerge

public boolean isMerge()
Gets the value of the merge property.

Specified by:
isMerge in interface Mergeable
Returns:
possible object is Boolean

setMerge

public void setMerge(Boolean value)
Sets the value of the merge property.

Parameters:
value - allowed object is Boolean

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class ManyToOne

equals

public boolean equals(Object object)
Overrides:
equals in class ManyToOne

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class ManyToOne

hashCode

public int hashCode()
Overrides:
hashCode in class ManyToOne

clone

public Object clone()
Overrides:
clone in class ManyToOne

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class ManyToOne

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class ManyToOne

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
createNewInstance in class ManyToOne

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
mergeFrom in class ManyToOne

mergeFrom

public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                      Object left,
                      Object right,
                      org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
mergeFrom in class ManyToOne


Copyright © 2005-2014. All Rights Reserved.