net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.maven.decoration100.impl
Class MenuItemImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.maven.decoration100.impl.MenuItemImpl
All Implemented Interfaces:
Serializable, Cloneable, MenuItem

public class MenuItemImpl
extends Object
implements Serializable, Cloneable, MenuItem

See Also:
Serialized Form

Field Summary
protected  Boolean collapse
           
protected  String description
           
protected  String href
           
protected  MenuItem[] item
           
protected  String name
           
protected  String ref
           
 
Constructor Summary
MenuItemImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.maven.decoration100.impl.MenuItemImpl instance.
MenuItemImpl(MenuItemImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.maven.decoration100.impl.MenuItemImpl instance by copying a given instance.
 
Method Summary
 MenuItemImpl clone()
          Creates and returns a copy of this object.
protected  void copyItem(MenuItem[] source)
          Copies all values of property Item.
 String getDescription()
          Gets the value of the description property.
 String getHref()
          Gets the value of the href 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 isCollapse()
          Gets the value of the collapse property.
 void setCollapse(Boolean value)
          Sets the value of the collapse property.
 void setDescription(String value)
          Sets the value of the description property.
 void setHref(String value)
          Sets the value of the href 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

description

protected String description

item

protected MenuItem[] item

collapse

protected Boolean collapse

ref

protected String ref

name

protected String name

href

protected String href
Constructor Detail

MenuItemImpl

public MenuItemImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.maven.decoration100.impl.MenuItemImpl instance.


MenuItemImpl

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

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

getDescription

public String getDescription()
Description copied from interface: MenuItem
Gets the value of the description property.

Specified by:
getDescription in interface MenuItem
Returns:
possible object is String

setDescription

public void setDescription(String value)
Description copied from interface: MenuItem
Sets the value of the description property.

Specified by:
setDescription in interface MenuItem
Parameters:
value - allowed object is String

getItem

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

getItem

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

getItemLength

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

setItem

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

setItem

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

isCollapse

public boolean isCollapse()
Description copied from interface: MenuItem
Gets the value of the collapse property.

Specified by:
isCollapse in interface MenuItem
Returns:
possible object is Boolean

setCollapse

public void setCollapse(Boolean value)
Description copied from interface: MenuItem
Sets the value of the collapse property.

Specified by:
setCollapse in interface MenuItem
Parameters:
value - allowed object is Boolean

getRef

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

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

setRef

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

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

getName

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

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

setName

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

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

getHref

public String getHref()
Description copied from interface: MenuItem
Gets the value of the href property.

Specified by:
getHref in interface MenuItem
Returns:
possible object is String

setHref

public void setHref(String value)
Description copied from interface: MenuItem
Sets the value of the href property.

Specified by:
setHref in interface MenuItem
Parameters:
value - allowed object is String

copyItem

protected 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 MenuItemImpl 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.