org.sharengo.wikitty
Interface BusinessEntity

All Superinterfaces:
Cloneable, Serializable
All Known Subinterfaces:
Label, TreeNode
All Known Implementing Classes:
BusinessEntityBean, BusinessEntityWikitty, LabelBean, LabelImpl, TreeNodeBean, TreeNodeImpl

public interface BusinessEntity
extends Serializable, Cloneable

Used as parent interface to all Business class

Version:
$Revision: 1 $ Last update: $Date: 2010-04-16 10:29:38 +0200 (ven., 16 avril 2010) $ by : $Author: echatellier $
Author:
poussin

Method Summary
 Collection<String> getExtensionFields(String ext)
          Return list of all field for this object
 Collection<String> getExtensionNames()
          Return list of all extension for this object
 Object getField(String ext, String fieldName)
          Return field value for the specifique extension and field
 FieldType getFieldType(String ext, String fieldName)
          Return the field type
 String getWikittyId()
           
 String getWikittyVersion()
           
 void setField(String ext, String fieldName, Object value)
          set field value for the specifique extension and field.
 void setWikittyVersion(String version)
          Only framework can use this method
 

Method Detail

getWikittyId

String getWikittyId()

getWikittyVersion

String getWikittyVersion()

setWikittyVersion

void setWikittyVersion(String version)
Only framework can use this method

Parameters:
version -

getExtensionNames

Collection<String> getExtensionNames()
Return list of all extension for this object

Returns:

getExtensionFields

Collection<String> getExtensionFields(String ext)
Return list of all field for this object

Parameters:
ext -
Returns:

getField

Object getField(String ext,
                String fieldName)
Return field value for the specifique extension and field

Parameters:
ext -
fieldName -
Returns:

setField

void setField(String ext,
              String fieldName,
              Object value)
set field value for the specifique extension and field. This method don't check the type of value for this field.

Parameters:
ext -
fieldName -
value -

getFieldType

FieldType getFieldType(String ext,
                       String fieldName)
Return the field type

Parameters:
ext -
fieldName -
Returns:


Copyright © 2009-2010 CodeLutin. All Rights Reserved.