org.opencrx.kernel.account1.jdo2
Class LegalEntity

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.account1.jdo2.Account
              extended by org.opencrx.kernel.account1.jdo2.LegalEntity
All Implemented Interfaces:
Serializable, AbstractGroup, Account, LegalEntity, AlertSender, Auditee, Cloneable, Importer, Indexed, SecureObject, XmlExporter, CrxObject, GenericAccount, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class LegalEntity
extends Account
implements LegalEntity

Class LegalEntity

See Also:
Serialized Form

Nested Class Summary
static class LegalEntity.Slice
          Slice object hold the LegalEntity's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.account1.jdo2.Account
Account.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.account1.cci2.Account
Account.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::account1::LegalEntity
 
Fields inherited from class org.opencrx.kernel.account1.jdo2.Account
BASE_CLASS
 
Constructor Summary
LegalEntity()
           
 
Method Summary
 void addRevenueReport(boolean idIsPersistent, String id, RevenueReport revenueReport)
          Adds the specified element to the set of the values for the reference revenueReport.
 short getIndustry()
          Retrieves the value for the attribute industry.
 String getName()
          Retrieves the value for the attribute name.
 Integer getNumberOfEmployees()
          Retrieves the possibly null value for the optional attribute numberOfEmployees.
 short getNumberOfEmployeesCategory()
          Retrieves the value for the attribute numberOfEmployeesCategory.
 OrganizationalUnit getOrganizationalUnit()
          Retrieves the value for the reference organizationalUnit.
<T extends RevenueReport>
Collection<T>
getRevenueReport()
          Retrieves a set containing all the elements for the reference revenueReport.
 RevenueReport getRevenueReport(boolean idIsPersistent, String id)
          Retrieves the value for the reference revenueReport for the specified qualifier attribute value.
 String getStockExchange()
          Retrieves the possibly null value for the optional attribute stockExchange.
 String getTickerSymbol()
          Retrieves the possibly null value for the optional attribute tickerSymbol.
static Account.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
static Account.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
           
 void setIndustry(short industry)
          Sets a new value for the attribute industry.
 void setName(String name)
          Sets a new value for the attribute name.
 void setNumberOfEmployees(Integer numberOfEmployees)
          Sets a new value for the attribute numberOfEmployees.
 void setNumberOfEmployeesCategory(short numberOfEmployeesCategory)
          Sets a new value for the attribute numberOfEmployeesCategory.
 void setOrganizationalUnit(OrganizationalUnit organizationalUnit)
          Sets a new value for the reference organizationalUnit.
 void setStockExchange(String stockExchange)
          Sets a new value for the attribute stockExchange.
 void setTickerSymbol(String tickerSymbol)
          Sets a new value for the attribute tickerSymbol.
 
Methods inherited from class org.opencrx.kernel.account1.jdo2.Account
addAdditionalExternalLink, addAddress, addAttachedDocument, addMedia, addMember, addNote, addOwningGroup, addPropertySet, addRating, addToSegment, addToSegment, checkPermissions, clone_, createInvoice, createLead, createOpportunity, createQuote, createSalesOrder, exportXml, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAccountCategory, getAccountMembership, getAccountMembership, getAccountRating, getAccountState, getAccountType, getAdditionalExternalLink, getAdditionalExternalLink, getAddress, getAddress, getAliasName, getAssignedActivity, getAssignedActivity, getAssignedContract, getAssignedContract, getAttachedDocument, getAttachedDocument, getAudit, getAudit, getBusinessType, getCategory, getContact, getCreatedAt, getCreatedBy, getDescription, getDisabledReason, getExtCode0, getExtCode1, getExtCode10, getExtCode11, getExtCode12, getExtCode13, getExtCode14, getExtCode15, getExtCode16, getExtCode17, getExtCode18, getExtCode19, getExtCode2, getExtCode3, getExtCode4, getExtCode5, getExtCode6, getExtCode7, getExtCode8, getExtCode9, getExtDate0, getExtDate1, getExtDate2, getExtDate3, getExtDate4, getExtDate5, getExtDate6, getExtDate7, getExtDate8, getExtDate9, getExtDateTime0, getExtDateTime1, getExtDateTime2, getExtDateTime3, getExtDateTime4, getExtDateTime5, getExtDateTime6, getExtDateTime7, getExtDateTime8, getExtDateTime9, getExternalLink, getExtNumber0, getExtNumber1, getExtNumber2, getExtNumber3, getExtNumber4, getExtNumber5, getExtNumber6, getExtNumber7, getExtNumber8, getExtNumber9, getExtString0, getExtString1, getExtString2, getExtString3, getExtString4, getExtString5, getExtString6, getExtString7, getExtString8, getExtString9, getFullName, getIdentity, getIndexEntry, getIndexEntry, getMaster, getMedia, getMedia, getMember, getMember, getModifiedAt, getModifiedBy, getNote, getNote, getOwner, getOwningGroup, getOwningUser, getPartner, getProduct, getProduct, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, getView, getView, importItem, isDisabled, isExtBoolean0, isExtBoolean1, isExtBoolean2, isExtBoolean3, isExtBoolean4, isExtBoolean5, isExtBoolean6, isExtBoolean7, isExtBoolean8, isExtBoolean9, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, sendAlert, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setAccountCategory, setAccountRating, setAccountState, setAccountType, setAliasName, setBusinessType, setCategory, setDescription, setDisabled, setDisabledReason, setExtBoolean0, setExtBoolean1, setExtBoolean2, setExtBoolean3, setExtBoolean4, setExtBoolean5, setExtBoolean6, setExtBoolean7, setExtBoolean8, setExtBoolean9, setExtCode0, setExtCode1, setExtCode10, setExtCode11, setExtCode12, setExtCode13, setExtCode14, setExtCode15, setExtCode16, setExtCode17, setExtCode18, setExtCode19, setExtCode2, setExtCode3, setExtCode4, setExtCode5, setExtCode6, setExtCode7, setExtCode8, setExtCode9, setExtDate0, setExtDate1, setExtDate2, setExtDate3, setExtDate4, setExtDate5, setExtDate6, setExtDate7, setExtDate8, setExtDate9, setExtDateTime0, setExtDateTime1, setExtDateTime2, setExtDateTime3, setExtDateTime4, setExtDateTime5, setExtDateTime6, setExtDateTime7, setExtDateTime8, setExtDateTime9, setExternalLink, setExtNumber0, setExtNumber1, setExtNumber2, setExtNumber3, setExtNumber4, setExtNumber5, setExtNumber6, setExtNumber7, setExtNumber8, setExtNumber9, setExtString0, setExtString1, setExtString2, setExtString3, setExtString4, setExtString5, setExtString6, setExtString7, setExtString8, setExtString9, setMaster, setOwningUser, setOwningUser, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4, updateIndex
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.Account
addAddress, addMember, createInvoice, createLead, createOpportunity, createQuote, createSalesOrder, getAccountCategory, getAccountMembership, getAccountMembership, getAccountRating, getAccountState, getAccountType, getAddress, getAddress, getAliasName, getAssignedActivity, getAssignedActivity, getAssignedContract, getAssignedContract, getBusinessType, getContact, getDescription, getExtCode0, getExtCode1, getExtCode10, getExtCode11, getExtCode12, getExtCode13, getExtCode14, getExtCode15, getExtCode16, getExtCode17, getExtCode18, getExtCode19, getExtCode2, getExtCode3, getExtCode4, getExtCode5, getExtCode6, getExtCode7, getExtCode8, getExtCode9, getExtDate0, getExtDate1, getExtDate2, getExtDate3, getExtDate4, getExtDate5, getExtDate6, getExtDate7, getExtDate8, getExtDate9, getExtDateTime0, getExtDateTime1, getExtDateTime2, getExtDateTime3, getExtDateTime4, getExtDateTime5, getExtDateTime6, getExtDateTime7, getExtDateTime8, getExtDateTime9, getExtNumber0, getExtNumber1, getExtNumber2, getExtNumber3, getExtNumber4, getExtNumber5, getExtNumber6, getExtNumber7, getExtNumber8, getExtNumber9, getExtString0, getExtString1, getExtString2, getExtString3, getExtString4, getExtString5, getExtString6, getExtString7, getExtString8, getExtString9, getFullName, getMaster, getMember, getMember, getPartner, getProduct, getProduct, isExtBoolean0, isExtBoolean1, isExtBoolean2, isExtBoolean3, isExtBoolean4, isExtBoolean5, isExtBoolean6, isExtBoolean7, isExtBoolean8, isExtBoolean9, setAccountCategory, setAccountRating, setAccountState, setAccountType, setAliasName, setBusinessType, setDescription, setExtBoolean0, setExtBoolean1, setExtBoolean2, setExtBoolean3, setExtBoolean4, setExtBoolean5, setExtBoolean6, setExtBoolean7, setExtBoolean8, setExtBoolean9, setExtCode0, setExtCode1, setExtCode10, setExtCode11, setExtCode12, setExtCode13, setExtCode14, setExtCode15, setExtCode16, setExtCode17, setExtCode18, setExtCode19, setExtCode2, setExtCode3, setExtCode4, setExtCode5, setExtCode6, setExtCode7, setExtCode8, setExtCode9, setExtDate0, setExtDate1, setExtDate2, setExtDate3, setExtDate4, setExtDate5, setExtDate6, setExtDate7, setExtDate8, setExtDate9, setExtDateTime0, setExtDateTime1, setExtDateTime2, setExtDateTime3, setExtDateTime4, setExtDateTime5, setExtDateTime6, setExtDateTime7, setExtDateTime8, setExtDateTime9, setExtNumber0, setExtNumber1, setExtNumber2, setExtNumber3, setExtNumber4, setExtNumber5, setExtNumber6, setExtNumber7, setExtNumber8, setExtNumber9, setExtString0, setExtString1, setExtString2, setExtString3, setExtString4, setExtString5, setExtString6, setExtString7, setExtString8, setExtString9, setMaster
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
addAdditionalExternalLink, addAttachedDocument, addMedia, addNote, addPropertySet, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getMedia, getNote, getNote, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::account1::LegalEntity

Constructor Detail

LegalEntity

public LegalEntity()
Method Detail

getIndustry

public short getIndustry()
Retrieves the value for the attribute industry.

Specified by:
getIndustry in interface LegalEntity
Returns:
The non-null value for attribute industry.

setIndustry

public void setIndustry(short industry)
Sets a new value for the attribute industry.

Specified by:
setIndustry in interface LegalEntity
Parameters:
industry - The non-null new value for attribute industry.

getNumberOfEmployeesCategory

public short getNumberOfEmployeesCategory()
Retrieves the value for the attribute numberOfEmployeesCategory.

Specified by:
getNumberOfEmployeesCategory in interface LegalEntity
Returns:
The non-null value for attribute numberOfEmployeesCategory.

setNumberOfEmployeesCategory

public void setNumberOfEmployeesCategory(short numberOfEmployeesCategory)
Sets a new value for the attribute numberOfEmployeesCategory.

Specified by:
setNumberOfEmployeesCategory in interface LegalEntity
Parameters:
numberOfEmployeesCategory - The non-null new value for attribute numberOfEmployeesCategory.

getStockExchange

public final String getStockExchange()
Retrieves the possibly null value for the optional attribute stockExchange.

Specified by:
getStockExchange in interface LegalEntity
Returns:
The possibly null value for attribute stockExchange.

setStockExchange

public void setStockExchange(String stockExchange)
Sets a new value for the attribute stockExchange.

Specified by:
setStockExchange in interface LegalEntity
Parameters:
stockExchange - The possibly null new value for attribute stockExchange.

getNumberOfEmployees

public final Integer getNumberOfEmployees()
Retrieves the possibly null value for the optional attribute numberOfEmployees.

Specified by:
getNumberOfEmployees in interface LegalEntity
Returns:
The possibly null value for attribute numberOfEmployees.

setNumberOfEmployees

public void setNumberOfEmployees(Integer numberOfEmployees)
Sets a new value for the attribute numberOfEmployees.

Specified by:
setNumberOfEmployees in interface LegalEntity
Parameters:
numberOfEmployees - The possibly null new value for attribute numberOfEmployees.

getOrganizationalUnit

public OrganizationalUnit getOrganizationalUnit()
Retrieves the value for the reference organizationalUnit.

Specified by:
getOrganizationalUnit in interface LegalEntity
Returns:
The – possibly null – value for this reference.

setOrganizationalUnit

public void setOrganizationalUnit(OrganizationalUnit organizationalUnit)
Sets a new value for the reference organizationalUnit.

Specified by:
setOrganizationalUnit in interface LegalEntity
Parameters:
organizationalUnit - The non-null new value for this reference.

getTickerSymbol

public final String getTickerSymbol()
Retrieves the possibly null value for the optional attribute tickerSymbol.

Specified by:
getTickerSymbol in interface LegalEntity
Returns:
The possibly null value for attribute tickerSymbol.

setTickerSymbol

public void setTickerSymbol(String tickerSymbol)
Sets a new value for the attribute tickerSymbol.

Specified by:
setTickerSymbol in interface LegalEntity
Parameters:
tickerSymbol - The possibly null new value for attribute tickerSymbol.

getRevenueReport

public <T extends RevenueReport> Collection<T> getRevenueReport()
Retrieves a set containing all the elements for the reference revenueReport.

Specified by:
getRevenueReport in interface LegalEntity
Returns:
A set containing all the elements for this reference.

getRevenueReport

public RevenueReport getRevenueReport(boolean idIsPersistent,
                                      String id)
Retrieves the value for the reference revenueReport for the specified qualifier attribute value.

Specified by:
getRevenueReport in interface LegalEntity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addRevenueReport

public void addRevenueReport(boolean idIsPersistent,
                             String id,
                             RevenueReport revenueReport)
Adds the specified element to the set of the values for the reference revenueReport.

Note: This is an extension to the JMI 1 standard.

Specified by:
addRevenueReport in interface LegalEntity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
revenueReport - The element to be appended.

getName

public String getName()
Retrieves the value for the attribute name.

Specified by:
getName in interface AbstractGroup
Returns:
The non-null value for attribute name.

setName

public void setName(String name)
Sets a new value for the attribute name.

Specified by:
setName in interface AbstractGroup
Parameters:
name - The non-null new value for attribute name.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class Account

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class Account

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class Account

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class Account
Returns:
the model class
See Also:
LegalEntity.CLASS

newIdentity

public static Account.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                           boolean idIsPersistent,
                                           String id)

openmdxjdoToIdentity

public static Account.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)