org.ujoframework.orm.metaModel
Class MetaProcedure

java.lang.Object
  extended by org.ujoframework.extensions.AbstractUjo
      extended by org.ujoframework.implementation.quick.QuickUjo
          extended by org.ujoframework.orm.AbstractMetaModel
              extended by org.ujoframework.orm.metaModel.MetaProcedure
All Implemented Interfaces:
java.io.Serializable, UjoCloneable, UjoTextable, Ujo

public final class MetaProcedure
extends AbstractMetaModel

DB procudure or function meta-model.

Author:
Pavel Ponec
See Also:
Serialized Form

Field Summary
static Property<MetaProcedure,MetaDatabase> DATABASE
          Database
static Property<MetaProcedure,UjoProperty> DB_PROPERTY
          Procedure property (a base definition of the procedure)
static Property<MetaProcedure,java.lang.String> ID
          The meta-model id
static Property<MetaProcedure,java.lang.String> NAME
          Procedure name
static ListProperty<MetaProcedure,MetaColumn> PARAMETERS
          Procedure parameters
static Property<MetaProcedure,java.lang.String> SCHEMA
          Name of table schema.
 
Constructor Summary
MetaProcedure()
          No parameter constructor.
MetaProcedure(MetaDatabase database, UjoProperty dbProperty, MetaProcedure parProcedure)
          Create the new stored procedure meta-model.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compare object by the same instance.
 MetaDatabase getDatabase()
          Returns the database
 java.lang.String getProcedureName()
          Procedure name
 java.lang.Class<OrmUjo> getType()
          Returns a base table class.
 boolean isInput(MetaColumn column)
          Is it an INPUT property ?
 boolean isOutput(MetaColumn column)
          Is it an OUTPUT property ?
 java.lang.String toString()
          A String representation.
 
Methods inherited from class org.ujoframework.orm.AbstractMetaModel
get, changeDefault, checkReadOnly, isUsable, isUsable, readAuthorization, readOnly, setReadOnly, writeValue
 
Methods inherited from class org.ujoframework.implementation.quick.QuickUjo
newListProperty, newListProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty, readValue
 
Methods inherited from class org.ujoframework.extensions.AbstractUjo
clone, init, init, readProperties, readUjoManager, readValueString, writeValueString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final Property<MetaProcedure,java.lang.String> ID
The meta-model id


NAME

public static final Property<MetaProcedure,java.lang.String> NAME
Procedure name


SCHEMA

public static final Property<MetaProcedure,java.lang.String> SCHEMA
Name of table schema.


PARAMETERS

public static final ListProperty<MetaProcedure,MetaColumn> PARAMETERS
Procedure parameters


DB_PROPERTY

public static final Property<MetaProcedure,UjoProperty> DB_PROPERTY
Procedure property (a base definition of the procedure)


DATABASE

public static final Property<MetaProcedure,MetaDatabase> DATABASE
Database

Constructor Detail

MetaProcedure

public MetaProcedure()
No parameter constructor.


MetaProcedure

public MetaProcedure(MetaDatabase database,
                     UjoProperty dbProperty,
                     MetaProcedure parProcedure)
Create the new stored procedure meta-model.

Parameters:
database -
dbProperty -
parProcedure - Configuration data from a XML file
Method Detail

getType

public final java.lang.Class<OrmUjo> getType()
Returns a base table class.


getDatabase

public final MetaDatabase getDatabase()
Returns the database


isInput

public boolean isInput(MetaColumn column)
Is it an INPUT property ?


isOutput

public boolean isOutput(MetaColumn column)
Is it an OUTPUT property ?


getProcedureName

public java.lang.String getProcedureName()
Procedure name


toString

public java.lang.String toString()
Description copied from class: AbstractUjo
A String representation.

Overrides:
toString in class AbstractUjo

equals

public boolean equals(java.lang.Object obj)
Compare object by the same instance.

Overrides:
equals in class AbstractUjo


Copyright © 2010. All Rights Reserved.