org.scribble.protocol.model
Class ProtocolImport

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

public class ProtocolImport
extends ModelObject

This class represents an imported protocol.


Constructor Summary
ProtocolImport()
          The default constructor.
ProtocolImport(ProtocolImport copy)
          The copy constructor.
 
Method Summary
 String getLocation()
          This method returns the location of the schema.
 String getName()
          This method returns the name of the type being imported.
 void setLocation(String location)
          This method sets the location of the schema.
 void setName(String name)
          This method sets the name of the type being imported.
 String toString()
           
 void visit(Visitor visitor)
          This method visits the model object using the supplied visitor.
 
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, wait, wait, wait
 

Constructor Detail

ProtocolImport

public ProtocolImport()
The default constructor.


ProtocolImport

public ProtocolImport(ProtocolImport copy)
The copy constructor.

Parameters:
copy - The copy
Method Detail

getName

public String getName()
This method returns the name of the type being imported.

Returns:
The name

setName

public void setName(String name)
This method sets the name of the type being imported.

Parameters:
name - The name

getLocation

public String getLocation()
This method returns the location of the schema.

Returns:
The location

setLocation

public void setLocation(String location)
This method sets the location of the schema.

Parameters:
location - The location

visit

public void visit(Visitor visitor)
This method visits the model object using the supplied visitor.

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

toString

public String toString()
Overrides:
toString in class Object


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