org.scribble.protocol.model
Class DataType

java.lang.Object
  extended by org.scribble.protocol.model.ModelObject
      extended by org.scribble.protocol.model.DataType

public class DataType
extends ModelObject

This class represents the data type bound to a particular type name used in the protocol.


Constructor Summary
DataType()
          Default constructor.
DataType(DataType copy)
          Copy constructor.
DataType(String details)
          Constructor used to initialise the data type details.
 
Method Summary
 String getDetails()
          This method returns the details.
 void setDetails(String details)
          This method sets the details.
 void visit(Visitor visitor)
          This method visits the data type.
 
Methods inherited from class org.scribble.protocol.model.ModelObject
derivedFrom, getAnnotations, getModel, getParent, getProperties, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataType

public DataType()
Default constructor.


DataType

public DataType(DataType copy)
Copy constructor.

Parameters:
copy - The copy

DataType

public DataType(String details)
Constructor used to initialise the data type details.

Parameters:
details - The details
Method Detail

getDetails

public String getDetails()
This method returns the details.

Returns:
The details

setDetails

public void setDetails(String details)
This method sets the details.

Parameters:
details - The details

visit

public void visit(Visitor visitor)
This method visits the data type.

Specified by:
visit in class ModelObject
Parameters:
visitor - The visitor


Copyright © 2008-Present Scribble.org. All Rights Reserved.