|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.MenuItemImpl
public class MenuItemImpl
| Field Summary | |
|---|---|
protected Boolean |
collapse
|
protected String |
description
|
protected String |
href
|
protected List<MenuItem> |
item
|
protected String |
name
|
protected String |
ref
|
| Constructor Summary | |
|---|---|
MenuItemImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.MenuItemImpl instance. |
|
MenuItemImpl(MenuItemImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.MenuItemImpl instance by copying a given instance. |
|
| Method Summary | |
|---|---|
MenuItemImpl |
clone()
Creates and returns a copy of this object. |
static void |
copyItem(List<MenuItem> source,
List<MenuItem> target)
Copies all values of property Item. |
String |
getDescription()
Gets the value of the description property. |
String |
getHref()
Gets the value of the href 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 |
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. |
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 |
|---|
protected String description
protected List<MenuItem> item
protected Boolean collapse
protected String ref
protected String name
protected String href
| Constructor Detail |
|---|
public MenuItemImpl()
net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.MenuItemImpl instance.
public MenuItemImpl(MenuItemImpl o)
net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.MenuItemImpl instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getDescription()
MenuItem
getDescription in interface MenuItemStringpublic void setDescription(String value)
MenuItem
setDescription in interface MenuItemvalue - allowed object is
Stringpublic List<MenuItem> getItem()
MenuItem
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
getItem in interface MenuItempublic boolean isCollapse()
MenuItem
isCollapse in interface MenuItemBooleanpublic void setCollapse(Boolean value)
MenuItem
setCollapse in interface MenuItemvalue - allowed object is
Booleanpublic String getRef()
MenuItem
getRef in interface MenuItemStringpublic void setRef(String value)
MenuItem
setRef in interface MenuItemvalue - allowed object is
Stringpublic String getName()
MenuItem
getName in interface MenuItemStringpublic void setName(String value)
MenuItem
setName in interface MenuItemvalue - allowed object is
Stringpublic String getHref()
MenuItem
getHref in interface MenuItemStringpublic void setHref(String value)
MenuItem
setHref in interface MenuItemvalue - allowed object is
String
public static void copyItem(List<MenuItem> source,
List<MenuItem> target)
Item.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public MenuItemImpl clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||