net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.maven.decoration100.impl
Class MenuImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.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  MenuItem[] item
           
protected  String name
           
protected  String ref
           
 
Constructor Summary
MenuImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.maven.decoration100.impl.MenuImpl instance.
MenuImpl(MenuImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.maven.decoration100.impl.MenuImpl instance by copying a given instance.
 
Method Summary
 MenuImpl clone()
          Creates and returns a copy of this object.
 void copyItem(MenuItem[] source)
          Copies all values of property Item.
 String getImg()
          Gets the value of the img property.
 String getInherit()
          Gets the value of the inherit property.
 MenuItem[] getItem()
           
 MenuItem getItem(int idx)
           
 int getItemLength()
           
 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.
 MenuItem setItem(int idx, MenuItem value)
           
 void setItem(MenuItem[] values)
           
 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 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.pub.indexed.novalueclass.maven.decoration100.impl.MenuImpl instance.


MenuImpl

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

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

getItem

public MenuItem[] getItem()
Specified by:
getItem in interface Menu
Returns:
array of MenuItem

getItem

public MenuItem getItem(int idx)
Specified by:
getItem in interface Menu
Returns:
one of MenuItem

getItemLength

public int getItemLength()
Specified by:
getItemLength in interface Menu

setItem

public void setItem(MenuItem[] values)
Specified by:
setItem in interface Menu
Parameters:
values - allowed objects are MenuItem

setItem

public MenuItem setItem(int idx,
                        MenuItem value)
Specified by:
setItem in interface Menu
value - allowed object is MenuItem

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

copyItem

public void copyItem(MenuItem[] source)
Copies all values of property Item.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

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.