ch.sahits.codegen.php
Class PHPConstants

java.lang.Object
  extended by ch.sahits.codegen.php.PHPConstants

public final class PHPConstants
extends java.lang.Object

Interface contains constants that are used over all the PHP class generator

Version:
2.1.0
Author:
Andi Hotz, Sahits GmbH

Field Summary
static java.lang.String CLASS_NAME
          Substitution constant for an class name
static java.lang.String DB_FIELD_GETTER
          Substitution constant for getter methods for all DB fields
static java.lang.String DB_FIELD_SETTER
          Substitution constant for setter methods for all DB fields
static java.lang.String DB_FIELDS
          Substitution constant for all DB fields
static java.lang.String DB_HOST
          Substitution constant for the DB host
static java.lang.String DB_NAME
          Substitution constant for the DB name
static java.lang.String DB_PASSWD
          Substitution constant for the DB password
static java.lang.String DB_USER
          Substitution constant for the DB user
static java.lang.String FIELD_ARRAY
          Substitution constant for an array of all DB fields
static java.lang.String FK
          Substitution constant for foreign key columns
static java.lang.String INIT_GET
          Substitution constant for the initGET method
static java.lang.String INIT_LOAD
          Substitution constant for the initLoad method
static java.lang.String INIT_POST
          Substitution constant for the initPOST method
static java.lang.String INSERT
          Substitution constant for the insert method
static java.lang.String LOAD_BY_FK
          Substitution constant for methods loading by foreign keys
static java.lang.String LOAD_UNIQUE
          Substitution constant for method for unique load by primary key
static java.lang.String OBJECT_NAME
          Substitution constant for an object name
static java.lang.String PK
          Substitution constant for primary key columns
static java.lang.String SAVE
          Substitution constant for the save method
static java.lang.String TABLE_NAME
          Substitution constant for the table name
static java.lang.String TO_STRING
          Substitution constant for the toString method
static java.lang.String UPDATE
          Substitution constant for the insert method
static java.lang.String WHERE
          Substitution constant for an where clause for the prefix
 
Constructor Summary
PHPConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DB_FIELDS

public static final java.lang.String DB_FIELDS
Substitution constant for all DB fields

See Also:
Constant Field Values

DB_FIELD_GETTER

public static final java.lang.String DB_FIELD_GETTER
Substitution constant for getter methods for all DB fields

See Also:
Constant Field Values

DB_FIELD_SETTER

public static final java.lang.String DB_FIELD_SETTER
Substitution constant for setter methods for all DB fields

See Also:
Constant Field Values

LOAD_BY_FK

public static final java.lang.String LOAD_BY_FK
Substitution constant for methods loading by foreign keys

See Also:
Constant Field Values

LOAD_UNIQUE

public static final java.lang.String LOAD_UNIQUE
Substitution constant for method for unique load by primary key

See Also:
Constant Field Values

PK

public static final java.lang.String PK
Substitution constant for primary key columns

See Also:
Constant Field Values

FK

public static final java.lang.String FK
Substitution constant for foreign key columns

See Also:
Constant Field Values

TABLE_NAME

public static final java.lang.String TABLE_NAME
Substitution constant for the table name

See Also:
Constant Field Values

SAVE

public static final java.lang.String SAVE
Substitution constant for the save method

See Also:
Constant Field Values

TO_STRING

public static final java.lang.String TO_STRING
Substitution constant for the toString method

See Also:
Constant Field Values

INIT_POST

public static final java.lang.String INIT_POST
Substitution constant for the initPOST method

See Also:
Constant Field Values

INIT_GET

public static final java.lang.String INIT_GET
Substitution constant for the initGET method

See Also:
Constant Field Values

INIT_LOAD

public static final java.lang.String INIT_LOAD
Substitution constant for the initLoad method

See Also:
Constant Field Values

INSERT

public static final java.lang.String INSERT
Substitution constant for the insert method

See Also:
Constant Field Values

UPDATE

public static final java.lang.String UPDATE
Substitution constant for the insert method

See Also:
Constant Field Values

FIELD_ARRAY

public static final java.lang.String FIELD_ARRAY
Substitution constant for an array of all DB fields

See Also:
Constant Field Values

WHERE

public static final java.lang.String WHERE
Substitution constant for an where clause for the prefix

See Also:
Constant Field Values

OBJECT_NAME

public static final java.lang.String OBJECT_NAME
Substitution constant for an object name

See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
Substitution constant for an class name

See Also:
Constant Field Values

DB_NAME

public static final java.lang.String DB_NAME
Substitution constant for the DB name

See Also:
Constant Field Values

DB_USER

public static final java.lang.String DB_USER
Substitution constant for the DB user

See Also:
Constant Field Values

DB_PASSWD

public static final java.lang.String DB_PASSWD
Substitution constant for the DB password

See Also:
Constant Field Values

DB_HOST

public static final java.lang.String DB_HOST
Substitution constant for the DB host

See Also:
Constant Field Values
Constructor Detail

PHPConstants

public PHPConstants()