org.jdesktop.wonderland.server.security
Class ActionMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<java.lang.String,Action>
              extended by org.jdesktop.wonderland.server.security.ActionMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,Action>

public class ActionMap
extends java.util.LinkedHashMap<java.lang.String,Action>

A set of actions associated with a given resource

Author:
jkaplan
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
ActionMap(Resource resource, Action... actions)
          Create a new ActionMap referencing the given resource and actions
 
Method Summary
 Resource getResource()
          Get the resource associated with this set
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

ActionMap

public ActionMap(Resource resource,
                 Action... actions)
Create a new ActionMap referencing the given resource and actions

Parameters:
resourceID - the resource to reference
actions - the initial actions for the set
Method Detail

getResource

public Resource getResource()
Get the resource associated with this set

Returns:
the resource


Open Wonderland - http://openwonderland.org