de.uplanet.lucy.server.businesslogic.resource.velocitydata
Class Resource

java.lang.Object
  extended by de.uplanet.lucy.server.businesslogic.resource.velocitydata.Resource

public final class Resource
extends java.lang.Object

Version:
$Revision: 76897 $

Field Summary
static java.lang.String STD_BGCOLOR
           
static java.lang.String STD_FONTCOLOR
           
 
Constructor Summary
Resource(IValueHolder<?> p_vhName, long p_lID)
          Constructor for Resource.
 
Method Summary
 boolean add(de.uplanet.lucy.server.businesslogic.resource.velocitydata.Booking p_booking)
          Method add.
 boolean add(de.uplanet.lucy.server.businesslogic.resource.velocitydata.MainScale p_mainScale)
          Method add.
 boolean equals(java.lang.Object p_obj)
           
 void finishing()
          Method finishing.
 java.lang.String getBgColor()
          Deprecated. use getBgColorVH instead
 IValueHolder<?> getBgColorVH()
          Returns the color in Format: #RGB
 java.lang.String getFontColor()
          Deprecated. use getFontColorVH instead
 IValueHolder<?> getFontColorVH()
          Returns the color in Format: #RGB
 long getID()
          Returns the lID.
 java.util.List<de.uplanet.lucy.server.businesslogic.resource.velocitydata.MainScale> getMainScale()
          Returns the listItems.
 java.lang.String getName()
          Deprecated. use getNameVH instead
 IValueHolder<?> getNameVH()
          Returns the name.
 java.lang.String getViewText()
          Deprecated. use getNameVH instead
 void setBgColor(java.lang.String p_strBgColor)
          Deprecated. use setBgColorVH instead
 void setBgColorVH(IValueHolder<?> p_vhBgColor)
          Sets the color in Format: #RGB
 void setFontColor(java.lang.String p_strFontColor)
          Deprecated. use setFontColorVH instead
 void setFontColorVH(IValueHolder<?> p_vhFontColor)
          Sets the color in Format: #RGB
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STD_BGCOLOR

public static final java.lang.String STD_BGCOLOR
See Also:
Constant Field Values

STD_FONTCOLOR

public static final java.lang.String STD_FONTCOLOR
See Also:
Constant Field Values
Constructor Detail

Resource

public Resource(IValueHolder<?> p_vhName,
                long p_lID)
Constructor for Resource.

Parameters:
p_strName -
p_lID -
Method Detail

getID

public long getID()
Returns the lID.

Returns:
long

add

public boolean add(de.uplanet.lucy.server.businesslogic.resource.velocitydata.MainScale p_mainScale)
Method add.

Parameters:
p_mainScale -
Returns:
true (as per the general contract of the Collection.add method).

add

public boolean add(de.uplanet.lucy.server.businesslogic.resource.velocitydata.Booking p_booking)
Method add.

Parameters:
p_booking -
Returns:
true, if Booking has been added to any MainScale

getViewText

@Deprecated
public java.lang.String getViewText()
Deprecated. use getNameVH instead

get name to View in Web

Returns:
String

getName

@Deprecated
public java.lang.String getName()
Deprecated. use getNameVH instead

Returns the name.

Returns:
String

getNameVH

public IValueHolder<?> getNameVH()
Returns the name.

Returns:
String

getMainScale

public java.util.List<de.uplanet.lucy.server.businesslogic.resource.velocitydata.MainScale> getMainScale()
Returns the listItems.

Returns:
List

finishing

public void finishing()
Method finishing.


getBgColor

@Deprecated
public java.lang.String getBgColor()
Deprecated. use getBgColorVH instead

Returns the color in Format: #RGB

Returns:
String

getBgColorVH

public IValueHolder<?> getBgColorVH()
Returns the color in Format: #RGB

Returns:
String

setBgColor

@Deprecated
public void setBgColor(java.lang.String p_strBgColor)
Deprecated. use setBgColorVH instead

Sets the color in Format: #RGB

Parameters:
p_strBgColor - The color to set

setBgColorVH

public void setBgColorVH(IValueHolder<?> p_vhBgColor)
Sets the color in Format: #RGB

Parameters:
p_strBgColor - The color to set

getFontColorVH

public IValueHolder<?> getFontColorVH()
Returns the color in Format: #RGB

Returns:
String

getFontColor

@Deprecated
public java.lang.String getFontColor()
Deprecated. use getFontColorVH instead

Returns the color in Format: #RGB

Returns:
String

setFontColor

@Deprecated
public void setFontColor(java.lang.String p_strFontColor)
Deprecated. use setFontColorVH instead

Sets the color in Format: #RGB

Parameters:
p_strFontColor - The color to set

setFontColorVH

public void setFontColorVH(IValueHolder<?> p_vhFontColor)
Sets the color in Format: #RGB

Parameters:
p_strFontColor - The color to set

equals

public boolean equals(java.lang.Object p_obj)
Overrides:
equals in class java.lang.Object


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.