Ejemplo n.º 1
0
 /**
  * Returns the value to be used as a default when executing a query on the block to which this
  * item belongs
  *
  * <p>This could be a block item a report parameter or an application parameter
  *
  * @return The default query value
  */
 public String getDefaultQueryValue() {
   return _itemProperties.getDefaultQueryValue();
 }
Ejemplo n.º 2
0
 /**
  * Returns <code>true</code> or <code>false</code> depending on whether this item receives its
  * value from the blocks service or if it is entered manually by the application developer
  *
  * @return <code>true</code> if this is item receives its value from the blocks service otherwise
  *     <code>false</code>
  */
 public boolean isBlockServiceItem() {
   return _itemProperties.isBlockServiceItem();
 }
Ejemplo n.º 3
0
 /**
  * Returns the name of the block to which this item belongs
  *
  * @return the name of the block to which this item belongs
  */
 public String getBlockName() {
   return _itemProperties.getBlockName();
 }
Ejemplo n.º 4
0
 /**
  * Returns the value for the annotation defined for this items corresponding method in the block
  * pojo
  *
  * <p>If no fieldName annotation has been defined for the method then, this method will return the
  * name of this item
  *
  * @return The field name of this item
  */
 public String getFieldName() {
   return _itemProperties.getFieldName();
 }
Ejemplo n.º 5
0
 /**
  * Returns the data type of this item
  *
  * @return The Class of the data type of this item
  */
 public Class<?> getDataType() {
   return _itemProperties.getDataTypeClass();
 }