com.trackstudio.app.udf
Class LinkValue

java.lang.Object
  extended by com.trackstudio.app.udf.GenericValue
      extended by com.trackstudio.app.udf.LinkValue

public class LinkValue
extends GenericValue

Класс, описывает значение пользовательского поля типа Ссылка


Nested Class Summary
 
Nested classes/interfaces inherited from class com.trackstudio.app.udf.GenericValue
GenericValue.TimeCapsula
 
Field Summary
protected  Link value
          Значение
 
Fields inherited from class com.trackstudio.app.udf.GenericValue
udfId
 
Constructor Summary
LinkValue(java.lang.String udfId)
          Конструктор
 
Method Summary
 Customizer getCustomizer(java.lang.String caption, java.lang.String timezone, java.lang.String locale, java.lang.String sortcolumn, boolean disabled)
          Кастомизатор для данного типа поля
 Link getValue(java.lang.Object calculated)
          Возвращает значение типа ссылка
 java.lang.String getValueAsString(java.lang.Object o)
          Возвращает значение поля в виде строки
 void setValue(UdfvalCacheItem val)
          Устанавливает значение
 
Methods inherited from class com.trackstudio.app.udf.GenericValue
equals, findListValue, getUdfId, setUdfId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected Link value
Значение

Constructor Detail

LinkValue

public LinkValue(java.lang.String udfId)
Конструктор

Parameters:
udfId - ID поля
Method Detail

setValue

public void setValue(UdfvalCacheItem val)
              throws GranException
Устанавливает значение

Overrides:
setValue in class GenericValue
Parameters:
val - значение
Throws:
GranException - при необходимости

getValue

public Link getValue(java.lang.Object calculated)
Возвращает значение типа ссылка

Specified by:
getValue in class GenericValue
Parameters:
calculated - вычисляемое поле или нет
Returns:
ссылка

getValueAsString

public java.lang.String getValueAsString(java.lang.Object o)
                                  throws GranException
Возвращает значение поля в виде строки

Specified by:
getValueAsString in class GenericValue
Parameters:
o - значение
Returns:
строка
Throws:
GranException - при необходимости

getCustomizer

public Customizer getCustomizer(java.lang.String caption,
                                java.lang.String timezone,
                                java.lang.String locale,
                                java.lang.String sortcolumn,
                                boolean disabled)
                         throws GranException
Кастомизатор для данного типа поля

Specified by:
getCustomizer in class GenericValue
Parameters:
caption - заголовок поля
timezone - таймзона
locale - локаль
sortcolumn - сортировка
disabled - активное поле или нет
Returns:
кастомизатор
Throws:
GranException - при необходимости
See Also:
Customizer


Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.