public class ObjectAsMap extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
protected String |
dateFormat |
protected org.apache.commons.beanutils.DynaBean |
dynaBean |
protected String |
objType |
protected Object |
wrappedObject |
Constructor and Description |
---|
ObjectAsMap() |
ObjectAsMap(Object obj,
String type) |
Modifier and Type | Method and Description |
---|---|
Set |
entrySet() |
Object |
get(Object key) |
protected Object |
getByIntrospection(Object key) |
String |
getDateFormat() |
protected Set |
getExtraKeys() |
static ObjectAsMap |
getInstance(String type,
Object object)
Rather than use a constructor directly, the UI reads the implementation type
from media.properties.
|
static ObjectAsMap |
getInstance(String type,
Object object,
GrouperSession grouperSession)
Rather than use a constructor directly, the UI reads the implementation type
from media.properties.
|
static ObjectAsMap |
getInstance(String type,
Subject object)
Rather than use a constructor directly, the UI reads the implementation type
from media.properties.
|
static ObjectAsMap |
getInstance(String type,
Subject subject,
GrouperSession grouperSession,
GroupOrStem groupOrStem,
String privilege)
Rather than use a constructor directly, the UI reads the implementation type
from media.properties.
|
String |
getObjectType() |
String |
getString(String key) |
Object |
getWrappedObject() |
boolean |
isEmpty() |
Set |
keySet() |
void |
setDateFormat(String dateFormat) |
int |
size() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, getOrDefault, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, values
equals, hashCode, toString
protected String objType
protected Object wrappedObject
protected transient org.apache.commons.beanutils.DynaBean dynaBean
protected String dateFormat
public String getObjectType()
public Object getWrappedObject()
public String getString(String key)
key
- to getpublic static ObjectAsMap getInstance(String type, Object object, GrouperSession grouperSession)
type
- object
- grouperSession
- public static ObjectAsMap getInstance(String type, Subject subject, GrouperSession grouperSession, GroupOrStem groupOrStem, String privilege)
type
- subject
- grouperSession
- groupOrStem
- privilege
- public static ObjectAsMap getInstance(String type, Object object)
type
- object
- public static ObjectAsMap getInstance(String type, Subject object)
type
- object
- protected Set getExtraKeys()
public boolean isEmpty()
public Set entrySet()
public String getDateFormat()
public void setDateFormat(String dateFormat)
Copyright © 2016 Internet2. All rights reserved.