org.openanzo.common.rdb.layout
Class NodeCentricSchema.LiteralNode

java.lang.Object
  extended by org.openanzo.common.rdb.layout.NodeCentricSchema.LiteralNode
Direct Known Subclasses:
NodeCentricSchema.LongLiteralNode
Enclosing class:
NodeCentricSchema

public static class NodeCentricSchema.LiteralNode
extends java.lang.Object

Define the table schema for storing literals


Nested Class Summary
static class NodeCentricSchema.LiteralNode.ColumnNames
          Define the column names for storing literals
 
Constructor Summary
NodeCentricSchema.LiteralNode(java.lang.String tableName)
          Define the constants for table storing literals
 
Method Summary
 Column getID()
          Get the column that represents the literal's ID
 Column getModifierId()
          Get the column that represents the literal's modifier value
 Constraint getModifierIdNullConstraint()
          Get the literal modifier is null constraint for this literal table
 Constraint getModifierTypeIdConstraint()
          Get the literal modifier value constraint for this literal table
 Table getTable()
          Get the table that stores literals
 Column getValue()
          Get the column that represents the literal's value
 Constraint getValueConstraint()
          Get the literal value constraint for this literal table
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCentricSchema.LiteralNode

public NodeCentricSchema.LiteralNode(java.lang.String tableName)
Define the constants for table storing literals

Parameters:
tableName - name of the table that stores literals
Method Detail

getTable

public Table getTable()
Get the table that stores literals

Returns:
the table that stores literals

getValueConstraint

public Constraint getValueConstraint()
Get the literal value constraint for this literal table

Returns:
the literal value constraint for this literal table

getModifierTypeIdConstraint

public Constraint getModifierTypeIdConstraint()
Get the literal modifier value constraint for this literal table

Returns:
the literal modifier value constraint for this literal table

getModifierIdNullConstraint

public Constraint getModifierIdNullConstraint()
Get the literal modifier is null constraint for this literal table

Returns:
the literal modifier is null constraint for this literal table

getID

public Column getID()
Get the column that represents the literal's ID

Returns:
the column that represents the literal's ID

getValue

public Column getValue()
Get the column that represents the literal's value

Returns:
the column that represents the literal's value

getModifierId

public Column getModifierId()
Get the column that represents the literal's modifier value

Returns:
the column that represents the literal's modifier value


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.