edu.yale.cs.hadoopdb.catalog.xml
Class Node

java.lang.Object
  extended by edu.yale.cs.hadoopdb.catalog.xml.Node

public class Node
extends java.lang.Object

Java class for Node complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Node">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded">
         <element name="Relations" type="{http://edu.yale.cs.db.hadoop/DBConfigurationSchema}Relation"/>
       </sequence>
       <attribute name="Location" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Driver" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Username" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Password" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String driver
           
protected  java.lang.String location
           
protected  java.lang.String password
           
protected  java.util.List<Relation> relations
           
protected  java.lang.String username
           
 
Constructor Summary
Node()
           
 
Method Summary
 java.lang.String getDriver()
          Gets the value of the driver property.
 java.lang.String getLocation()
          Gets the value of the location property.
 java.lang.String getPassword()
          Gets the value of the password property.
 java.util.List<Relation> getRelations()
          Gets the value of the relations property.
 java.lang.String getUsername()
          Gets the value of the username property.
 void setDriver(java.lang.String value)
          Sets the value of the driver property.
 void setLocation(java.lang.String value)
          Sets the value of the location property.
 void setPassword(java.lang.String value)
          Sets the value of the password property.
 void setUsername(java.lang.String value)
          Sets the value of the username property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driver

protected java.lang.String driver

location

protected java.lang.String location

password

protected java.lang.String password

relations

protected java.util.List<Relation> relations

username

protected java.lang.String username
Constructor Detail

Node

public Node()
Method Detail

getDriver

public java.lang.String getDriver()
Gets the value of the driver property.

Returns:
possible object is String

getLocation

public java.lang.String getLocation()
Gets the value of the location property.

Returns:
possible object is String

getPassword

public java.lang.String getPassword()
Gets the value of the password property.

Returns:
possible object is String

getRelations

public java.util.List<Relation> getRelations()
Gets the value of the relations property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the relations property.

For example, to add a new item, do as follows:

    getRelations().add(newItem);
 

Objects of the following type(s) are allowed in the list Relation


getUsername

public java.lang.String getUsername()
Gets the value of the username property.

Returns:
possible object is String

setDriver

public void setDriver(java.lang.String value)
Sets the value of the driver property.

Parameters:
value - allowed object is String

setLocation

public void setLocation(java.lang.String value)
Sets the value of the location property.

Parameters:
value - allowed object is String

setPassword

public void setPassword(java.lang.String value)
Sets the value of the password property.

Parameters:
value - allowed object is String

setUsername

public void setUsername(java.lang.String value)
Sets the value of the username property.

Parameters:
value - allowed object is String