@Embeddable public class ActionId extends Ind2uceEntity
URN_ACTION_PATTERN. Concrete
actions that occurred are represented by an Event.| Modifier and Type | Field and Description |
|---|---|
static Pattern |
URN_ACTION_PATTERN
The URN pattern for an ActionId.
|
GSON_DEFAULT, GSON_PLAIN, GSON_PRETTY, version| Constructor and Description |
|---|
ActionId(String urn)
Instantiates a new action id.
|
ActionId(String scope,
String actionId)
Instantiates a new action id.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAction()
UI, OS, FILESYSTEM etc.
|
String |
getId()
Gets the id.
|
String |
getScope()
ANDROID, OSX etc.
|
int |
hashCode() |
String |
toString() |
protected void |
validate(String uri)
Validate.
|
fromJson, getGson, getVersion, toJsonpublic static final Pattern URN_ACTION_PATTERN
public ActionId(String urn)
urn - the urn. Must adhere to the URN_ACTION_PATTERN.public String getAction()
public String getId()
public String getScope()
public String toString()
toString in class Ind2uceEntityprotected void validate(String uri)
uri - the uriCopyright © 2018. All rights reserved.