Package de.xima.fc.common.graphdot
Class AssignmentStatement
- java.lang.Object
 - 
- de.xima.fc.common.graphdot.AssignmentStatement
 
 
- 
- All Implemented Interfaces:
 IDirectedGraphDotStatement,IGenericGraphDotStatement,IGraphDotElement,IGraphDotStatement,IUndirectedGraphDotStatement,Serializable
public final class AssignmentStatement extends Object implements IGenericGraphDotStatement
An property statement assigning a value to a named property."some-name" = "some-value";
- Since:
 - 8.2.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AssignmentStatement(Assignment assignment)Creates a new assignment. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AssignmentgetAssignment()inthashCode()StringtoGraphDotString()Creates a string in the graph dot language representing this element.StringtoString()voidwrite(GraphDotModelWriter writer)Writes this element to the given writer, as a string in the graph dot language representing this element.- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface de.xima.fc.common.graphdot.IGraphDotElement
toGraphDotString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AssignmentStatement
public AssignmentStatement(Assignment assignment)
Creates a new assignment.- Parameters:
 assignment- Assignment to perform.
 
 - 
 
- 
Method Detail
- 
getAssignment
public Assignment getAssignment()
- Returns:
 - The assignment to perform.
 
 
- 
write
public void write(GraphDotModelWriter writer) throws IOException
Description copied from interface:IGraphDotElementWrites this element to the given writer, as a string in the graph dot language representing this element.- Specified by:
 writein interfaceIGraphDotElement- Parameters:
 writer- Writer to write to.- Throws:
 IOException- When the writer could not be written to.
 
- 
toGraphDotString
public final String toGraphDotString()
Description copied from interface:IGraphDotElementCreates a string in the graph dot language representing this element.- Specified by:
 toGraphDotStringin interfaceIGraphDotElement- Returns:
 - The graph dot representation of this graph dot element.
 
 
 - 
 
 -