@Entity public class ActivityUnit extends Object implements Externalizable
Constructor and Description |
---|
ActivityUnit()
The default constructor.
|
ActivityUnit(ActivityUnit act)
The copy constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<Context> |
contexts()
This method gets all the context instances associated
with the activity unit and its contained activity
types.
|
List<ActivityType> |
getActivityTypes()
This method gets the activity types.
|
String |
getId()
This method gets the activity id.
|
Origin |
getOrigin()
This method gets the origin.
|
void |
init()
This method initializes the activity unit and its
contained activity events.
|
Map<String,String> |
properties()
This method gets all the properties associated
with the activity unit and its contained activity
types.
|
void |
readExternal(ObjectInput in) |
void |
setActivityTypes(List<ActivityType> activityTypes)
This method sets the activity types.
|
void |
setId(String id)
This method sets the activity id.
|
void |
setOrigin(Origin origin)
This method sets the origin.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public ActivityUnit()
public ActivityUnit(ActivityUnit act)
act
- The activity to copy.public void setId(String id)
id
- The idpublic String getId()
public void init()
public void setOrigin(Origin origin)
origin
- The originpublic Origin getOrigin()
public Set<Context> contexts()
public Map<String,String> properties()
public void setActivityTypes(List<ActivityType> activityTypes)
activityTypes
- The activity typespublic List<ActivityType> getActivityTypes()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.