Package org.glassfish.gmbal.main
Class ProfileMain.MyRoot
- java.lang.Object
-
- org.glassfish.gmbal.main.ProfileMain.MyRoot
-
- Enclosing class:
- ProfileMain
@ManagedObject public static class ProfileMain.MyRoot extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<ProfileMain.Item>
items
private java.util.List<ProfileMain.Store>
stores
-
Constructor Summary
Constructors Constructor Description MyRoot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addItem(ProfileMain.Item item)
void
addStore(ProfileMain.Store store)
(package private) java.util.Map<ProfileMain.Item,java.util.Set<ProfileMain.Store>>
getItemLocations()
(package private) java.util.List<ProfileMain.Item>
getItems()
(package private) java.util.List<ProfileMain.Store>
getStores()
(package private) java.lang.String
name()
-
-
-
Field Detail
-
stores
private java.util.List<ProfileMain.Store> stores
-
items
private java.util.List<ProfileMain.Item> items
-
-
Method Detail
-
addStore
public void addStore(ProfileMain.Store store)
-
addItem
public void addItem(ProfileMain.Item item)
-
name
@NameValue java.lang.String name()
-
getStores
@ManagedAttribute @Description("All of the stores") java.util.List<ProfileMain.Store> getStores()
-
getItems
@ManagedAttribute @Description("All possible items") java.util.List<ProfileMain.Item> getItems()
-
getItemLocations
@ManagedAttribute @Description("Map of which stores contain a particular item") java.util.Map<ProfileMain.Item,java.util.Set<ProfileMain.Store>> getItemLocations()
-
-