SEO Domain Index
Crisopeya IM
v1.0.0

net.crisopeya.product.SEO_Domain_Index_rg.db.datamodel
Class SEO_Domain_Index_rgDbData

java.lang.Object
  extended by net.crisopeya.product.SEO_Domain_Index_rg.db.enhancer.SEO_Domain_Index_rgEnhancer
      extended by net.crisopeya.product.SEO_Domain_Index_rg.db.datamodel.SEO_Domain_Index_rgDbData
All Implemented Interfaces:
DataModel, DbDataModel

public class SEO_Domain_Index_rgDbData
extends SEO_Domain_Index_rgEnhancer
implements DbDataModel

Extends the functionality of the SEO_Domain_Index_rgEnhancer class with validations, transformations and database utilities.

It also performs the data adquisition for import-load tasks, creating SEO Domain Index (external link) IM Db objects from a line of CSV formatted text.

SEO Domain Index (external link) Data Management

It is a key class for sending SEO Domain Index (external link) IM information between application layers. It transforms the SEO Domain Index (external link) Db layer container class, SEO_Domain_Index_rgEnhancer, into the bridge class, SEO_Domain_Index_rg, as shown in the following diagram:

Crisopeya IM Data Management Diagram


It transforms "SEO Domain Index" IM data in the SEO_Domain_Index_rgEnhancer class in the DATABASE layer into the SEO_Domain_Index_rg bridge class.

When a user insert some data on the User Interface, the data is stored into the SEO_Domain_Index_rg bridge class and it is sent to the Database layer. Then this data is set into the SEO_Domain_Index_rgEnhancer using this class. The same way, when information data is retrieved from the database, it is stored into the SEO_Domain_Index_rgEnhancer class and this class sets this date into the SEO_Domain_Index_rg bridge class that is then sent to the User Interface layer.

For more information on SEO Domain Index (external link) IM Data Management see SEO_Domain_Index_rg, SEO_Domain_Index_rgEnhancer, SEO_Domain_Index_rgDbData and SEO_Domain_Index_rgUiData.

Version:
1.0.0, 01/28/09
Author:
C-SGE (crisopeya software generation engine)
See Also:
SEO_Domain_Index_rg, SEO_Domain_Index_rgEnhancer, SEO_Domain_Index_rgDbData, SEO_Domain_Index_rgUiData

Field Summary
private  int fieldsCount
          During object creation, counts the difference between the SEO Domain Index (external link) IM number of fields and the input text line number of fields.
private  ArrayList<Integer> nullFailed
          Holds any not null-allowed constraint error that has happened during SEO Domain Index (external link) IM object creation.
private  ArrayList<Integer> parseFailed
          Holds any parsing error that has happened during SEO Domain Index (external link) IM object creation.
 Object[] uniqueFieldValues
          Object array with SEO Domain Index (external link) IM unique field values.
 
Fields inherited from class net.crisopeya.product.SEO_Domain_Index_rg.db.enhancer.SEO_Domain_Index_rgEnhancer
Date, Domain, Google_site, Google_sitemap, Live, SEO_Domain_Index_rg_Id, Sitemap, Yahoo, Yahoo_inlinks
 
Constructor Summary
SEO_Domain_Index_rgDbData(String input, String delimiter)
          Creates a SEO_Domain_Index_rgDbData instance from a CSV line of text, or stores any parsing or constraint error that might have occurred.
 
Method Summary
 DataModel getDataModel()
          Transform the SEO Domain Index (external link) IM Db layer container class, SEO_Domain_Index_rgEnhancer, into the bridge class, SEO_Domain_Index_rg.
 int getFieldsCount()
          Gets the difference between the SEO Domain Index (external link) IM number of fields and the number of fields on the CSV text line.
 Object[] getKeyFieldsValue()
          Gets the object array with SEO Domain Index (external link) IM unique field values.
 ArrayList<Integer> getNullFailed()
          Returns the list of not null-allowed constraint errors that have occurred during object creation, if any.
 ArrayList<Integer> getParseFailed()
          Returns the list of parsing errors that have occurred during object creation, if any.
 
Methods inherited from class net.crisopeya.product.SEO_Domain_Index_rg.db.enhancer.SEO_Domain_Index_rgEnhancer
getDate, getDomain, getGoogle_site, getGoogle_sitemap, getId, getImages, getLive, getSitemap, getYahoo_inlinks, getYahoo, set, set, setDate, setDomain, setGoogle_site, setGoogle_sitemap, setId, setLive, setSitemap, setYahoo_inlinks, setYahoo, toDataClass, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.crisopeya.platform.db.datamodel.DbDataModel
toDataClass
 

Field Detail

parseFailed

private ArrayList<Integer> parseFailed
Holds any parsing error that has happened during SEO Domain Index (external link) IM object creation.

See Also:
getParseFailed()

nullFailed

private ArrayList<Integer> nullFailed
Holds any not null-allowed constraint error that has happened during SEO Domain Index (external link) IM object creation.

See Also:
getNullFailed()

fieldsCount

private int fieldsCount
During object creation, counts the difference between the SEO Domain Index (external link) IM number of fields and the input text line number of fields. If creation ends correctly, its value is set to 0.

See Also:
getFieldsCount()

uniqueFieldValues

public Object[] uniqueFieldValues
Object array with SEO Domain Index (external link) IM unique field values.

See Also:
getKeyFieldsValue()
Constructor Detail

SEO_Domain_Index_rgDbData

public SEO_Domain_Index_rgDbData(String input,
                                 String delimiter)
Creates a SEO_Domain_Index_rgDbData instance from a CSV line of text, or stores any parsing or constraint error that might have occurred.

Parameters:
input - The line of text
delimiter - The CSV delimiter
Method Detail

getDataModel

public DataModel getDataModel()
Transform the SEO Domain Index (external link) IM Db layer container class, SEO_Domain_Index_rgEnhancer, into the bridge class, SEO_Domain_Index_rg.

Specified by:
getDataModel in interface DbDataModel
Returns:
The "SEO Domain Index" IM bridge object
See Also:
SEO_Domain_Index_rgEnhancer, SEO_Domain_Index_rg

getParseFailed

public ArrayList<Integer> getParseFailed()
Returns the list of parsing errors that have occurred during object creation, if any.

Specified by:
getParseFailed in interface DbDataModel
Returns:
The parsing error list
See Also:
parseFailed

getNullFailed

public ArrayList<Integer> getNullFailed()
Returns the list of not null-allowed constraint errors that have occurred during object creation, if any.

Specified by:
getNullFailed in interface DbDataModel
Returns:
The not null-allowed constraint error list
See Also:
nullFailed

getKeyFieldsValue

public Object[] getKeyFieldsValue()
Gets the object array with SEO Domain Index (external link) IM unique field values.

Specified by:
getKeyFieldsValue in interface DbDataModel
Returns:
The values array
See Also:
uniqueFieldValues

getFieldsCount

public int getFieldsCount()
Gets the difference between the SEO Domain Index (external link) IM number of fields and the number of fields on the CSV text line. If object creation ended correctly, it values 0.

Specified by:
getFieldsCount in interface DbDataModel
Returns:
The difference between the field numbers
See Also:
fieldsCount

SEO Domain Index
Crisopeya IM
v1.0.0

This software application has been automatically built and generated by the Crisopeya Technology. It has been freely shared and contributed to the Crisopeya Software 2.0 Community Software Catalog by one of its users.

You can download this application from the Crisopeya Software 2.0 Community Software Catalog.
You can join the Crisopeya community and build and share your own software applications.

© 2004-2009 Crisopeya Team at Business Excellence by Information Technologies SL (BE I.T.)