public class LogicalTarget extends Object
| Constructor and Description |
|---|
LogicalTarget()
Default constructor for Logicaltarget.
|
LogicalTarget(int id, String name, LogicalTargetType type)
Constructor to create a LogicalTarget and initialize fields.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Return the ID of this logical target
|
String |
getName()
Return the name of this logical target
|
LogicalTargetType |
getType()
Return the type of this logical target
|
void |
setId(int id)
Set the logical target ID
|
void |
setName(String name)
Set the name of this logical target
|
void |
setType(LogicalTargetType type)
Set the type of this logical target
|
public LogicalTarget()
public LogicalTarget(int id,
String name,
LogicalTargetType type)
id - the ID of this targetname - the name of this targettype - the type of this targetpublic int getId()
public void setId(int id)
id - the target IDpublic String getName()
public void setName(String name)
name - target namepublic LogicalTargetType getType()
public void setType(LogicalTargetType type)
type - target type