net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.maven.decoration100.impl
Class MenuImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.maven.decoration100.impl.MenuImpl
All Implemented Interfaces:
Serializable, Cloneable, Menu

public class MenuImpl
extends Object
implements Serializable, Cloneable, Menu

See Also:
Serialized Form

Field Summary
protected  String img
           
protected  String inherit
           
protected  Boolean inheritAsRef
           
protected  List<MenuItem> item
           
protected  String name
           
protected  String ref
           
 
Constructor Summary
MenuImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.maven.decoration100.impl.MenuImpl instance.
MenuImpl(MenuImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.maven.decoration100.impl.MenuImpl instance by copying a given instance.
 
Method Summary
 MenuImpl clone()
          Creates and returns a copy of this object.
 String getImg()
          Gets the value of the img property.
 String getInherit()
          Gets the value of the inherit property.
 List<MenuItem> getItem()
          Gets the value of the item property.
 String getName()
          Gets the value of the name property.
 String getRef()
          Gets the value of the ref property.
 boolean isInheritAsRef()
          Gets the value of the inheritAsRef property.
 void setImg(String value)
          Sets the value of the img property.
 void setInherit(String value)
          Sets the value of the inherit property.
 void setInheritAsRef(Boolean value)
          Sets the value of the inheritAsRef property.
 void setName(String value)
          Sets the value of the name property.
 void setRef(String value)
          Sets the value of the ref property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item

protected List<MenuItem> item

name

protected String name

inherit

protected String inherit

inheritAsRef

protected Boolean inheritAsRef

ref

protected String ref

img

protected String img
Constructor Detail

MenuImpl

public MenuImpl()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.maven.decoration100.impl.MenuImpl instance.


MenuImpl

public MenuImpl(MenuImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.maven.decoration100.impl.MenuImpl instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getItem

public List<MenuItem> getItem()
Description copied from interface: Menu
Gets the value of the item property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the item property.

For example, to add a new item, do as follows:

    getItem().add(newItem);
 

Objects of the following type(s) are allowed in the list MenuItem

Specified by:
getItem in interface Menu

getName

public String getName()
Description copied from interface: Menu
Gets the value of the name property.

Specified by:
getName in interface Menu
Returns:
possible object is String

setName

public void setName(String value)
Description copied from interface: Menu
Sets the value of the name property.

Specified by:
setName in interface Menu
Parameters:
value - allowed object is String

getInherit

public String getInherit()
Description copied from interface: Menu
Gets the value of the inherit property.

Specified by:
getInherit in interface Menu
Returns:
possible object is String

setInherit

public void setInherit(String value)
Description copied from interface: Menu
Sets the value of the inherit property.

Specified by:
setInherit in interface Menu
Parameters:
value - allowed object is String

isInheritAsRef

public boolean isInheritAsRef()
Description copied from interface: Menu
Gets the value of the inheritAsRef property.

Specified by:
isInheritAsRef in interface Menu
Returns:
possible object is Boolean

setInheritAsRef

public void setInheritAsRef(Boolean value)
Description copied from interface: Menu
Sets the value of the inheritAsRef property.

Specified by:
setInheritAsRef in interface Menu
Parameters:
value - allowed object is Boolean

getRef

public String getRef()
Description copied from interface: Menu
Gets the value of the ref property.

Specified by:
getRef in interface Menu
Returns:
possible object is String

setRef

public void setRef(String value)
Description copied from interface: Menu
Sets the value of the ref property.

Specified by:
setRef in interface Menu
Parameters:
value - allowed object is String

getImg

public String getImg()
Description copied from interface: Menu
Gets the value of the img property.

Specified by:
getImg in interface Menu
Returns:
possible object is String

setImg

public void setImg(String value)
Description copied from interface: Menu
Sets the value of the img property.

Specified by:
setImg in interface Menu
Parameters:
value - allowed object is String

clone

public MenuImpl clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.