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

java.lang.Object
  extended by org.jvnet.hyperjaxb3.ejb.schemas.customizations.SingleProperty
All Implemented Interfaces:
Cloneable, 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 SingleProperty
extends Object
implements Cloneable, 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 single-property complex type.

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

 <complexType name="single-property">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="basic" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}basic"/>
         <element name="one-to-one" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}one-to-one"/>
         <element name="many-to-one" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}many-to-one"/>
         <element name="embedded" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}embedded"/>
       </choice>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Basic basic
           
protected  Embedded embedded
           
protected  ManyToOne manyToOne
           
protected  OneToOne oneToOne
           
protected  QName type
           
 
Constructor Summary
SingleProperty()
           
 
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)
           
 Basic getBasic()
          Gets the value of the basic property.
 Embedded getEmbedded()
          Gets the value of the embedded property.
 ManyToOne getManyToOne()
          Gets the value of the manyToOne property.
 OneToOne getOneToOne()
          Gets the value of the oneToOne property.
 QName getType()
          Gets the value of the type property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 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 setBasic(Basic value)
          Sets the value of the basic property.
 void setEmbedded(Embedded value)
          Sets the value of the embedded property.
 void setManyToOne(ManyToOne value)
          Sets the value of the manyToOne property.
 void setOneToOne(OneToOne value)
          Sets the value of the oneToOne property.
 void setType(QName value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

basic

protected Basic basic

oneToOne

protected OneToOne oneToOne

manyToOne

protected ManyToOne manyToOne

embedded

protected Embedded embedded

type

protected QName type
Constructor Detail

SingleProperty

public SingleProperty()
Method Detail

getBasic

public Basic getBasic()
Gets the value of the basic property.

Returns:
possible object is Basic

setBasic

public void setBasic(Basic value)
Sets the value of the basic property.

Parameters:
value - allowed object is Basic

getOneToOne

public OneToOne getOneToOne()
Gets the value of the oneToOne property.

Returns:
possible object is OneToOne

setOneToOne

public void setOneToOne(OneToOne value)
Sets the value of the oneToOne property.

Parameters:
value - allowed object is OneToOne

getManyToOne

public ManyToOne getManyToOne()
Gets the value of the manyToOne property.

Returns:
possible object is ManyToOne

setManyToOne

public void setManyToOne(ManyToOne value)
Sets the value of the manyToOne property.

Parameters:
value - allowed object is ManyToOne

getEmbedded

public Embedded getEmbedded()
Gets the value of the embedded property.

Returns:
possible object is Embedded

setEmbedded

public void setEmbedded(Embedded value)
Sets the value of the embedded property.

Parameters:
value - allowed object is Embedded

getType

public QName getType()
Gets the value of the type property.

Returns:
possible object is QName

setType

public void setType(QName value)
Sets the value of the type property.

Parameters:
value - allowed object is QName

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

equals

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

copyTo

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

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

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

mergeFrom

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

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


Copyright © 2005-2014. All Rights Reserved.