de.oio.sqlrest.db
Class Column

java.lang.Object
  |
  +--de.oio.sqlrest.db.Column

public class Column
extends java.lang.Object

Author:
tbayer

Field Summary
 java.lang.String content
           
 
Constructor Summary
Column(java.lang.String name, int type, int size)
           
Column(java.lang.String aName, java.lang.String aContent)
           
 
Method Summary
 java.lang.String getContent()
          Returns the content.
 java.lang.String getName()
          Returns the name.
 int getType()
          Returns the type.
 boolean isPrimaryKey()
          Returns the primaryKey.
 void setContent(java.lang.String content)
          Sets the content.
 void setName(java.lang.String name)
          Sets the name.
 void setPrimaryKey(boolean primaryKey)
          Sets the primaryKey.
 void setType(int type)
          Sets the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

public java.lang.String content
Constructor Detail

Column

public Column(java.lang.String aName,
              java.lang.String aContent)

Column

public Column(java.lang.String name,
              int type,
              int size)
Method Detail

getContent

public java.lang.String getContent()
Returns the content.

Returns:
String

getName

public java.lang.String getName()
Returns the name.

Returns:
String

isPrimaryKey

public boolean isPrimaryKey()
Returns the primaryKey.

Returns:
boolean

getType

public int getType()
Returns the type.

Returns:
int

setContent

public void setContent(java.lang.String content)
Sets the content.

Parameters:
content - The content to set

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name to set

setPrimaryKey

public void setPrimaryKey(boolean primaryKey)
Sets the primaryKey.

Parameters:
primaryKey - The primaryKey to set

setType

public void setType(int type)
Sets the type.

Parameters:
type - The type to set


Copyright Orientation in Objects GmbH. All Rights Reserved.