Compiere 3.1

org.compiere.model
Class X_AD_Color

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_AD_Color
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MColor

public class X_AD_Color
extends PO

Generated Model for AD_Color

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int COLORTYPE_AD_Reference_ID
          ColorType AD_Reference_ID=243
static String COLORTYPE_Gradient
          Gradient = G
static String COLORTYPE_Line
          Line = L
static String COLORTYPE_NormalFlat
          Normal (Flat) = F
static String COLORTYPE_TexturePicture
          Texture (Picture) = T
protected static KeyNamePair Model
           
static int STARTPOINT_AD_Reference_ID
          StartPoint AD_Reference_ID=248
static String STARTPOINT_East
          East = 3
static String STARTPOINT_North
          North = 1
static String STARTPOINT_NorthEast
          North East = 2
static String STARTPOINT_NorthWest
          North West = 8
static String STARTPOINT_South
          South = 5
static String STARTPOINT_SouthEast
          South East = 4
static String STARTPOINT_SouthWest
          South West = 6
static String STARTPOINT_West
          West = 7
static int Table_ID
          AD_Table_ID=457
static String Table_Name
          TableName=AD_Color
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_AD_Color(Ctx ctx, int AD_Color_ID, String trxName)
          Standard Constructor
X_AD_Color(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_Color_ID()
          Get System Color.
 int getAD_Image_ID()
          Get Image.
 int getAlpha_1()
          Get 2nd Alpha.
 int getAlpha()
          Get Alpha.
 int getBlue_1()
          Get 2nd Blue.
 int getBlue()
          Get Blue.
 String getColorType()
          Get Color Type.
 int getGreen_1()
          Get 2nd Green.
 int getGreen()
          Get Green.
 BigDecimal getImageAlpha()
          Get Image Alpha.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLineDistance()
          Get Line Distance.
 int getLineWidth()
          Get Line Width.
 String getName()
          Get Name.
 int getRed_1()
          Get 2nd Red.
 int getRed()
          Get Red.
 int getRepeatDistance()
          Get Repeat Distance.
 String getStartPoint()
          Get Start Point.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isColorTypeValid(String test)
          Is test a valid value.
 boolean isDefault()
          Get Default.
 boolean isStartPointValid(String test)
          Is test a valid value.
 void setAD_Color_ID(int AD_Color_ID)
          Set System Color.
 void setAD_Image_ID(int AD_Image_ID)
          Set Image.
 void setAlpha_1(int Alpha_1)
          Set 2nd Alpha.
 void setAlpha(int Alpha)
          Set Alpha.
 void setBlue_1(int Blue_1)
          Set 2nd Blue.
 void setBlue(int Blue)
          Set Blue.
 void setColorType(String ColorType)
          Set Color Type.
 void setGreen_1(int Green_1)
          Set 2nd Green.
 void setGreen(int Green)
          Set Green.
 void setImageAlpha(BigDecimal ImageAlpha)
          Set Image Alpha.
 void setIsDefault(boolean IsDefault)
          Set Default.
 void setLineDistance(int LineDistance)
          Set Line Distance.
 void setLineWidth(int LineWidth)
          Set Line Width.
 void setName(String Name)
          Set Name.
 void setRed_1(int Red_1)
          Set 2nd Red.
 void setRed(int Red)
          Set Red.
 void setRepeatDistance(int RepeatDistance)
          Set Repeat Distance.
 void setStartPoint(String StartPoint)
          Set Start Point.
 String toString()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=457

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=AD_Color

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

COLORTYPE_AD_Reference_ID

public static final int COLORTYPE_AD_Reference_ID
ColorType AD_Reference_ID=243

See Also:
Constant Field Values

COLORTYPE_NormalFlat

public static final String COLORTYPE_NormalFlat
Normal (Flat) = F

See Also:
Constant Field Values

COLORTYPE_Gradient

public static final String COLORTYPE_Gradient
Gradient = G

See Also:
Constant Field Values

COLORTYPE_Line

public static final String COLORTYPE_Line
Line = L

See Also:
Constant Field Values

COLORTYPE_TexturePicture

public static final String COLORTYPE_TexturePicture
Texture (Picture) = T

See Also:
Constant Field Values

STARTPOINT_AD_Reference_ID

public static final int STARTPOINT_AD_Reference_ID
StartPoint AD_Reference_ID=248

See Also:
Constant Field Values

STARTPOINT_North

public static final String STARTPOINT_North
North = 1

See Also:
Constant Field Values

STARTPOINT_NorthEast

public static final String STARTPOINT_NorthEast
North East = 2

See Also:
Constant Field Values

STARTPOINT_East

public static final String STARTPOINT_East
East = 3

See Also:
Constant Field Values

STARTPOINT_SouthEast

public static final String STARTPOINT_SouthEast
South East = 4

See Also:
Constant Field Values

STARTPOINT_South

public static final String STARTPOINT_South
South = 5

See Also:
Constant Field Values

STARTPOINT_SouthWest

public static final String STARTPOINT_SouthWest
South West = 6

See Also:
Constant Field Values

STARTPOINT_West

public static final String STARTPOINT_West
West = 7

See Also:
Constant Field Values

STARTPOINT_NorthWest

public static final String STARTPOINT_NorthWest
North West = 8

See Also:
Constant Field Values
Constructor Detail

X_AD_Color

public X_AD_Color(Ctx ctx,
                  int AD_Color_ID,
                  String trxName)
Standard Constructor

Parameters:
ctx - context
AD_Color_ID - id
trxName - transaction

X_AD_Color

public X_AD_Color(Ctx ctx,
                  ResultSet rs,
                  String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
4 - System

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
PO Info

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_Color_ID

public void setAD_Color_ID(int AD_Color_ID)
Set System Color.

Parameters:
AD_Color_ID - Color for backgrounds or indicators

getAD_Color_ID

public int getAD_Color_ID()
Get System Color.

Returns:
Color for backgrounds or indicators

setAD_Image_ID

public void setAD_Image_ID(int AD_Image_ID)
Set Image.

Parameters:
AD_Image_ID - Image or Icon

getAD_Image_ID

public int getAD_Image_ID()
Get Image.

Returns:
Image or Icon

setAlpha

public void setAlpha(int Alpha)
Set Alpha.

Parameters:
Alpha - Color Alpha value 0-255

getAlpha

public int getAlpha()
Get Alpha.

Returns:
Color Alpha value 0-255

setAlpha_1

public void setAlpha_1(int Alpha_1)
Set 2nd Alpha.

Parameters:
Alpha_1 - Alpha value for second color

getAlpha_1

public int getAlpha_1()
Get 2nd Alpha.

Returns:
Alpha value for second color

setBlue

public void setBlue(int Blue)
Set Blue.

Parameters:
Blue - Color RGB blue value

getBlue

public int getBlue()
Get Blue.

Returns:
Color RGB blue value

setBlue_1

public void setBlue_1(int Blue_1)
Set 2nd Blue.

Parameters:
Blue_1 - RGB value for second color

getBlue_1

public int getBlue_1()
Get 2nd Blue.

Returns:
RGB value for second color

isColorTypeValid

public boolean isColorTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setColorType

public void setColorType(String ColorType)
Set Color Type.

Parameters:
ColorType - Color presentation for this color

getColorType

public String getColorType()
Get Color Type.

Returns:
Color presentation for this color

setGreen

public void setGreen(int Green)
Set Green.

Parameters:
Green - RGB value

getGreen

public int getGreen()
Get Green.

Returns:
RGB value

setGreen_1

public void setGreen_1(int Green_1)
Set 2nd Green.

Parameters:
Green_1 - RGB value for second color

getGreen_1

public int getGreen_1()
Get 2nd Green.

Returns:
RGB value for second color

setImageAlpha

public void setImageAlpha(BigDecimal ImageAlpha)
Set Image Alpha.

Parameters:
ImageAlpha - Image Texture Composite Alpha

getImageAlpha

public BigDecimal getImageAlpha()
Get Image Alpha.

Returns:
Image Texture Composite Alpha

setIsDefault

public void setIsDefault(boolean IsDefault)
Set Default.

Parameters:
IsDefault - Default value

isDefault

public boolean isDefault()
Get Default.

Returns:
Default value

setLineDistance

public void setLineDistance(int LineDistance)
Set Line Distance.

Parameters:
LineDistance - Distance between lines

getLineDistance

public int getLineDistance()
Get Line Distance.

Returns:
Distance between lines

setLineWidth

public void setLineWidth(int LineWidth)
Set Line Width.

Parameters:
LineWidth - Width of the lines

getLineWidth

public int getLineWidth()
Get Line Width.

Returns:
Width of the lines

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setRed

public void setRed(int Red)
Set Red.

Parameters:
Red - RGB value

getRed

public int getRed()
Get Red.

Returns:
RGB value

setRed_1

public void setRed_1(int Red_1)
Set 2nd Red.

Parameters:
Red_1 - RGB value for second color

getRed_1

public int getRed_1()
Get 2nd Red.

Returns:
RGB value for second color

setRepeatDistance

public void setRepeatDistance(int RepeatDistance)
Set Repeat Distance.

Parameters:
RepeatDistance - Distance in points to repeat gradient color - or zero

getRepeatDistance

public int getRepeatDistance()
Get Repeat Distance.

Returns:
Distance in points to repeat gradient color - or zero

isStartPointValid

public boolean isStartPointValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setStartPoint

public void setStartPoint(String StartPoint)
Set Start Point.

Parameters:
StartPoint - Start point of the gradient colors

getStartPoint

public String getStartPoint()
Get Start Point.

Returns:
Start point of the gradient colors

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.