public class Pattern
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.ArrayList<AttributeConstraint> |
EMPTY_attributeConstraints
Deprecated.
since 1.2; for internal use only
|
static java.util.ArrayList<MatchConstraint> |
EMPTY_matchConstraints
Deprecated.
since 1.2; for internal use only
|
static java.util.ArrayList<PatternObject> |
EMPTY_objects
Deprecated.
since 1.2; for internal use only
|
static java.util.ArrayList<RoleObject> |
EMPTY_roles
Deprecated.
since 1.2; for internal use only
|
protected java.beans.PropertyChangeSupport |
listeners |
static java.lang.String |
PROPERTY_attributeConstraints |
static java.lang.String |
PROPERTY_matchConstraints |
static java.lang.String |
PROPERTY_objects |
static java.lang.String |
PROPERTY_roles |
| Constructor and Description |
|---|
Pattern() |
public static final java.lang.String PROPERTY_objects
public static final java.lang.String PROPERTY_roles
public static final java.lang.String PROPERTY_attributeConstraints
public static final java.lang.String PROPERTY_matchConstraints
@Deprecated public static final java.util.ArrayList<PatternObject> EMPTY_objects
@Deprecated public static final java.util.ArrayList<RoleObject> EMPTY_roles
@Deprecated public static final java.util.ArrayList<AttributeConstraint> EMPTY_attributeConstraints
@Deprecated public static final java.util.ArrayList<MatchConstraint> EMPTY_matchConstraints
protected java.beans.PropertyChangeSupport listeners
public java.util.ArrayList<PatternObject> getObjects()
@Deprecated public PatternObject getObjects(java.lang.String name)
getObject(String) insteadname - the name of the pattern object to findnull if not foundpublic PatternObject getObject(java.lang.String name)
name - the name of the pattern object to findnull if not foundpublic Pattern withObjects(java.lang.Object... value)
public Pattern withObjects(PatternObject value)
public Pattern withObjects(PatternObject... value)
public Pattern withObjects(java.util.Collection<? extends PatternObject> value)
public Pattern withoutObjects(java.lang.Object... value)
public Pattern withoutObjects(PatternObject value)
public Pattern withoutObjects(PatternObject... value)
public Pattern withoutObjects(java.util.Collection<? extends PatternObject> value)
public java.util.ArrayList<RoleObject> getRoles()
public Pattern withRoles(java.lang.Object... value)
public Pattern withRoles(RoleObject value)
public Pattern withRoles(RoleObject... value)
public Pattern withRoles(java.util.Collection<? extends RoleObject> value)
public Pattern withoutRoles(java.lang.Object... value)
public Pattern withoutRoles(RoleObject value)
public Pattern withoutRoles(RoleObject... value)
public Pattern withoutRoles(java.util.Collection<? extends RoleObject> value)
public java.util.ArrayList<AttributeConstraint> getAttributeConstraints()
public Pattern withAttributeConstraints(java.lang.Object... value)
public Pattern withAttributeConstraints(AttributeConstraint value)
public Pattern withAttributeConstraints(AttributeConstraint... value)
public Pattern withAttributeConstraints(java.util.Collection<? extends AttributeConstraint> value)
public Pattern withoutAttributeConstraints(java.lang.Object... value)
public Pattern withoutAttributeConstraints(AttributeConstraint value)
public Pattern withoutAttributeConstraints(AttributeConstraint... value)
public Pattern withoutAttributeConstraints(java.util.Collection<? extends AttributeConstraint> value)
public java.util.ArrayList<MatchConstraint> getMatchConstraints()
public Pattern withMatchConstraints(java.lang.Object... value)
public Pattern withMatchConstraints(MatchConstraint value)
public Pattern withMatchConstraints(MatchConstraint... value)
public Pattern withMatchConstraints(java.util.Collection<? extends MatchConstraint> value)
public Pattern withoutMatchConstraints(java.lang.Object... value)
public Pattern withoutMatchConstraints(MatchConstraint value)
public Pattern withoutMatchConstraints(MatchConstraint... value)
public Pattern withoutMatchConstraints(java.util.Collection<? extends MatchConstraint> value)
public boolean firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
public boolean addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public boolean addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
public boolean removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public boolean removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
public void removeYou()
public java.lang.String toString()
toString in class java.lang.Object