Class ValueProxyAttribute

All Implemented Interfaces:
ValueAttribute, Cacheable, Observed, Retrievable, Serializable, ColumnAccessByName, ObjectModel, Persistent

public class ValueProxyAttribute extends AttributeValue implements ValueAttribute
Author:
Youngho Cho
See Also:
  • Constructor Details

    • ValueProxyAttribute

      public ValueProxyAttribute()
      Creates a new ValueProxyAttribute object.
  • Method Details

    • loadResources

      public Object loadResources(ActivitySet activitySet) throws Exception
      Loads from database data specific for this Attribute including Name. These are data common to all Attribute instances with same id. Data retrieved here will then be used in setResources.
      Overrides:
      loadResources in class AttributeValue
      Parameters:
      activitySet - specific activitySet
      Returns:
      Object containing Attribute resources which will be used in setResources.
      Throws:
      Exception - 처리 중 오류가 발생한 경우
    • setResources

      public void setResources(Object resources)
      This method is used by an Attribute instance to obtain specific resources such as option list for SelectOneAttribute. It may, for example put them into instance variables. Attributes may use common resources as-is or create it's own resources based on common, it should not, however, modify common resources since they will be used by other Attribute instances.
      Overrides:
      setResources in class AttributeValue
      Parameters:
      resources - Resources common for Attributes with the specified id.
    • init

      public void init() throws Exception
      Override this method if you need any initialization for this attr.
      Overrides:
      init in class AttributeValue
      Throws:
      Exception - Generic Exception
    • hasValue

      public boolean hasValue(Object checkValue) throws Exception
      DOCUMENT ME!
      Specified by:
      hasValue in class AttributeValue
      Parameters:
      checkValue - DOCUMENT ME!
      Returns:
      DOCUMENT ME!
      Throws:
      Exception - DOCUMENT ME!