public class EntryId
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANY
The none.
|
static EntryId |
anyEntry
The any entry.
|
static java.lang.String |
FEATURE_ATR
The type atr.
|
static java.lang.String |
NONE
The none.
|
static java.lang.String |
STEREOTYPE_ATR
The type atr.
|
static java.lang.String |
TYPE_ATR
The type atr.
|
Constructor and Description |
---|
EntryId(java.lang.String type,
java.lang.String stereotype,
java.lang.String feature)
Instantiates a new entry id.
|
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<EntryId> |
computeEntryIds_(java.lang.Object el,
java.lang.Object ft)
Compute entry ids.
|
static java.util.ArrayList<EntryId> |
computeEntryIds(java.lang.Object el,
java.lang.Object ft)
Given an element and a feature compute a list of ids to match permission
entries.
|
static java.util.ArrayList<EntryId> |
computeStereotypeEntryIds(java.lang.Object el,
java.lang.Object ft,
java.lang.Object st)
Compute stereotype entry ids.
|
boolean |
equals(java.lang.Object arg0) |
static EntryId |
generateEntryId(org.eclipse.uml2.uml.Element el,
org.eclipse.uml2.uml.Stereotype str,
org.eclipse.uml2.uml.Feature feature)
Generate entry id.
|
java.lang.String |
getFeature()
Gets the feature.
|
java.lang.String |
getStereotype()
Gets the stereotype.
|
java.lang.String |
getType()
Gets the type.
|
boolean |
isANY()
Checks if is any.
|
boolean |
match(EntryId id)
Match.
|
boolean |
match(java.lang.String type,
java.lang.String stereotype,
java.lang.String feature)
Match.
|
java.lang.String |
toString() |
public static java.lang.String ANY
public static java.lang.String NONE
public static EntryId anyEntry
public static java.lang.String FEATURE_ATR
public static java.lang.String STEREOTYPE_ATR
public static java.lang.String TYPE_ATR
public EntryId(java.lang.String type, java.lang.String stereotype, java.lang.String feature)
type
- the typestereotype
- the stereotypefeature
- the featurepublic java.lang.String getFeature()
public java.lang.String getStereotype()
public java.lang.String getType()
public boolean match(EntryId id)
id
- the idpublic boolean match(java.lang.String type, java.lang.String stereotype, java.lang.String feature)
type
- the typestereotype
- the stereotypefeature
- the featurepublic java.lang.String toString()
toString
in class java.lang.Object
public static EntryId generateEntryId(org.eclipse.uml2.uml.Element el, org.eclipse.uml2.uml.Stereotype str, org.eclipse.uml2.uml.Feature feature)
el
- the elstr
- the strfeature
- the featurepublic static java.util.ArrayList<EntryId> computeStereotypeEntryIds(java.lang.Object el, java.lang.Object ft, java.lang.Object st)
el
- the elft
- the ftst
- the stpublic static java.util.ArrayList<EntryId> computeEntryIds(java.lang.Object el, java.lang.Object ft)
el
- the elft
- the ftpublic static java.util.ArrayList<EntryId> computeEntryIds_(java.lang.Object el, java.lang.Object ft)
el
- the elft
- the ftpublic boolean isANY()
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object