My Project
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
BusinessElementInstance Class Reference

Public Member Functions

long getID ()
 
 BusinessElementInstance (int aBusinessElement, boolean isUndefined)
 
int getWhatBusinessElement ()
 
boolean isUndefined ()
 

Private Member Functions

void setID ()
 

Static Private Member Functions

static synchronized void IncrementLastSerialID ()
 
static synchronized long getLastSerialID ()
 

Private Attributes

int whatBusinessElement
 
boolean undefined
 
Long id
 The identification number of each single instance.
 

Static Private Attributes

static long last_serial_id =0
 

Detailed Description

Business elements are aspects of a knowledge field: product, market, technology, organization, etc. Business elements instances are a particular product, a particular market, etc.

Author
Sirio Capizzi
Guido Fioretti
Ruggero Rossi

Constructor & Destructor Documentation

BusinessElementInstance.BusinessElementInstance ( int  aBusinessElement,
boolean  isUndefined 
)
inline

An instance of a business element is created keeping track of:

  • What a business element it is an instance of (0 = first, 1 = second, ...);
  • Whether it is undefined. Its identification number is set as soon as it is created.
Parameters
aBusinessElement
isUndefined

Member Function Documentation

long BusinessElementInstance.getID ( )
inline
Returns
static synchronized long BusinessElementInstance.getLastSerialID ( )
inlinestaticprivate
Returns
int BusinessElementInstance.getWhatBusinessElement ( )
inline

Reports what business element this is an instance of.

Returns
Return what business element this is an instance of.
boolean BusinessElementInstance.isUndefined ( )
inline

Reports whether a business element is undefined.

Returns
Return whether a business element is undefined.

Member Data Documentation

long BusinessElementInstance.last_serial_id =0
staticprivate

The value of this static variable is common to all.

boolean BusinessElementInstance.undefined
private

Undefined business elements are be created by the partial intersection of regular knowledge fields.

int BusinessElementInstance.whatBusinessElement
private

What a business element this is an instance of.


The documentation for this class was generated from the following file: