public class BlockerDeclaration extends Object implements Serializable, Cloneable
Represents information about a gate declaration.
| Constructor and Description |
|---|
BlockerDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
BlockerDeclaration |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the gate declaration.
|
String |
getType()
The type of the gate declaration.
|
int |
hashCode() |
void |
setName(String name)
The name of the gate declaration.
|
void |
setType(BlockerType type)
The type of the gate declaration.
|
void |
setType(String type)
The type of the gate declaration.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BlockerDeclaration |
withName(String name)
The name of the gate declaration.
|
BlockerDeclaration |
withType(BlockerType type)
The type of the gate declaration.
|
BlockerDeclaration |
withType(String type)
The type of the gate declaration.
|
public void setName(String name)
The name of the gate declaration.
name - The name of the gate declaration.public String getName()
The name of the gate declaration.
public BlockerDeclaration withName(String name)
The name of the gate declaration.
name - The name of the gate declaration.public void setType(String type)
The type of the gate declaration.
type - The type of the gate declaration.BlockerTypepublic String getType()
The type of the gate declaration.
BlockerTypepublic BlockerDeclaration withType(String type)
The type of the gate declaration.
type - The type of the gate declaration.BlockerTypepublic void setType(BlockerType type)
The type of the gate declaration.
type - The type of the gate declaration.BlockerTypepublic BlockerDeclaration withType(BlockerType type)
The type of the gate declaration.
type - The type of the gate declaration.BlockerTypepublic String toString()
toString in class ObjectObject.toString()public BlockerDeclaration clone()
Copyright © 2015. All rights reserved.