|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.decoration100.impl.MenuImpl
public class MenuImpl
| 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.prot.collections.novalueclass.maven.decoration100.impl.MenuImpl instance. |
|
MenuImpl(MenuImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.decoration100.impl.MenuImpl instance by copying a given instance. |
|
| Method Summary | |
|---|---|
MenuImpl |
clone()
Creates and returns a copy of this object. |
protected static void |
copyItem(List<MenuItem> source,
List<MenuItem> target)
Copies all values of property Item. |
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 |
|---|
protected List<MenuItem> item
protected String name
protected String inherit
protected Boolean inheritAsRef
protected String ref
protected String img
| Constructor Detail |
|---|
public MenuImpl()
net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.decoration100.impl.MenuImpl instance.
public MenuImpl(MenuImpl o)
net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.decoration100.impl.MenuImpl instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<MenuItem> getItem()
Menu
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 Menupublic String getName()
Menu
getName in interface MenuStringpublic void setName(String value)
Menu
setName in interface Menuvalue - allowed object is
Stringpublic String getInherit()
Menu
getInherit in interface MenuStringpublic void setInherit(String value)
Menu
setInherit in interface Menuvalue - allowed object is
Stringpublic boolean isInheritAsRef()
Menu
isInheritAsRef in interface MenuBooleanpublic void setInheritAsRef(Boolean value)
Menu
setInheritAsRef in interface Menuvalue - allowed object is
Booleanpublic String getRef()
Menu
getRef in interface MenuStringpublic void setRef(String value)
Menu
setRef in interface Menuvalue - allowed object is
Stringpublic String getImg()
Menu
getImg in interface MenuStringpublic void setImg(String value)
Menu
setImg in interface Menuvalue - allowed object is
String
protected 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 MenuImpl clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||