org.ocltf.concretesyntax.impl
Class VariableDeclarationCSImpl

java.lang.Object
  extended byorg.ocltf.concretesyntax.impl.VariableDeclarationCSImpl
All Implemented Interfaces:
VariableDeclarationCS

public class VariableDeclarationCSImpl
extends java.lang.Object
implements VariableDeclarationCS

An implementation of the ocl VariableDeclarationCS facade.

Author:
Chad Brandon
See Also:
VariableDeclarationCS

Constructor Summary
VariableDeclarationCSImpl(java.lang.String name, java.lang.String type, java.lang.String value)
          Constructs a new VariableDeclarationCSImpl
 
Method Summary
 java.lang.String getName()
          The variable declaration name
 java.lang.String getType()
          The variable declaration type.
 java.lang.String getValue()
          The variable declaration initial value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableDeclarationCSImpl

public VariableDeclarationCSImpl(java.lang.String name,
                                 java.lang.String type,
                                 java.lang.String value)
Constructs a new VariableDeclarationCSImpl

Parameters:
name - the name of the VariableDeclaratiom
type - the type of the VariableDeclarationCS
Method Detail

getName

public java.lang.String getName()
Description copied from interface: VariableDeclarationCS
The variable declaration name

Specified by:
getName in interface VariableDeclarationCS
Returns:
String the name of the variable declaration.
See Also:
VariableDeclarationCS.getName()

getType

public java.lang.String getType()
Description copied from interface: VariableDeclarationCS
The variable declaration type.

Specified by:
getType in interface VariableDeclarationCS
Returns:
String the type of the variable declaration.
See Also:
VariableDeclarationCS.getType()

getValue

public java.lang.String getValue()
Description copied from interface: VariableDeclarationCS
The variable declaration initial value.

Specified by:
getValue in interface VariableDeclarationCS
Returns:
String the initial value.
See Also:
VariableDeclarationCS.getValue()

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright © 2003-2004 Chad Brandon. All Rights Reserved.