Package com.aspectran.core.context.rule
Class ItemRuleMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,ItemRule>
-
- com.aspectran.core.context.rule.ItemRuleMap
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,ItemRule>
public class ItemRuleMap extends java.util.LinkedHashMap<java.lang.String,ItemRule>
The Class ItemRuleMap.Created: 2008. 03. 29 PM 5:00:20
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ItemRuleMap()
ItemRuleMap(ItemRuleMap itemRuleMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ItemRuleMap>
addCandidate(ItemRuleMap itemRuleMap)
java.util.List<ItemRuleMap>
getCandidates()
java.lang.String
getProfile()
boolean
isDummy()
ItemRule
putItemRule(ItemRule itemRule)
Adds a item rule.void
setCandidates(java.util.List<ItemRuleMap> candidates)
void
setDummy(boolean dummy)
void
setProfile(java.lang.String profile)
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Constructor Detail
-
ItemRuleMap
public ItemRuleMap()
-
ItemRuleMap
public ItemRuleMap(ItemRuleMap itemRuleMap)
-
-
Method Detail
-
putItemRule
public ItemRule putItemRule(ItemRule itemRule)
Adds a item rule.- Parameters:
itemRule
- the item rule- Returns:
- the item rule
-
getProfile
public java.lang.String getProfile()
-
setProfile
public void setProfile(java.lang.String profile)
-
getCandidates
public java.util.List<ItemRuleMap> getCandidates()
-
setCandidates
public void setCandidates(java.util.List<ItemRuleMap> candidates)
-
addCandidate
public java.util.List<ItemRuleMap> addCandidate(ItemRuleMap itemRuleMap)
-
isDummy
public boolean isDummy()
-
setDummy
public void setDummy(boolean dummy)
-
-