Class AttributeSet
- java.lang.Object
- 
- jadex.rules.rulesystem.rete.extractors.AttributeSet
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 
 public class AttributeSet extends java.lang.Object implements java.lang.Cloneable
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.SetalltypesThe set of 'all' attributes for OAVJavaTypes.protected java.util.SetattributesThe set of normal attributes.static AttributeSetEMPTY_ATTRIBUTESETThe constant empty attribute set.
 - 
Constructor SummaryConstructors Constructor Description AttributeSet()Create a new attribute set.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAll(AttributeSet attrset)Add all elements on another attribute set.voidaddAllType(OAVJavaType alltype)Add type for all attributes.voidaddAttribute(OAVAttributeType attr)Add a new attributes.java.lang.Objectclone()Clone this object.booleancontains(OAVAttributeType attr)Test if an attribute is contained in the attribute set.java.util.SetgetAllTypesSet()Get the all types set.java.util.SetgetAttributeSet()Get the attribute set.voidremoveAttribute(OAVAttributeType attr)Remove an attributes.
 
- 
- 
- 
Field Detail- 
EMPTY_ATTRIBUTESETpublic static final AttributeSet EMPTY_ATTRIBUTESET The constant empty attribute set.
 - 
attributesprotected java.util.Set attributes The set of normal attributes.
 - 
alltypesprotected java.util.Set alltypes The set of 'all' attributes for OAVJavaTypes.
 
- 
 - 
Method Detail- 
addAttributepublic void addAttribute(OAVAttributeType attr) Add a new attributes.- Parameters:
- attr- The attribute.
 
 - 
removeAttributepublic void removeAttribute(OAVAttributeType attr) Remove an attributes.- Parameters:
- attr- The attribute.
 
 - 
addAllTypepublic void addAllType(OAVJavaType alltype) Add type for all attributes.- Parameters:
- alltype- The alltype.
 
 - 
containspublic boolean contains(OAVAttributeType attr) Test if an attribute is contained in the attribute set.- Parameters:
- attr- The attribute.
- Returns:
- True, if contained.
 
 - 
getAttributeSetpublic java.util.Set getAttributeSet() Get the attribute set.- Returns:
- The attribute set.
 
 - 
getAllTypesSetpublic java.util.Set getAllTypesSet() Get the all types set.- Returns:
- The all types set.
 
 - 
addAllpublic void addAll(AttributeSet attrset) Add all elements on another attribute set.- Parameters:
- attrset- The set to add.
 
 - 
clonepublic java.lang.Object clone() Clone this object.- Overrides:
- clonein class- java.lang.Object
- Returns:
- The clone.
 
 
- 
 
-