Java Doc for ModelViewEntity.java in  » ERP-CRM-Financial » SourceTap-CRM » org » ofbiz » entity » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » SourceTap CRM » org.ofbiz.entity.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ofbiz.entity.model.ModelEntity
      org.ofbiz.entity.model.ModelViewEntity

ModelViewEntity
public class ModelViewEntity extends ModelEntity (Code)
This class extends ModelEntity and provides additional information appropriate to view entities
author:
   David E. Jones
author:
   Andy Zeneski
author:
   Peter Moon
version:
   $Revision: 1.11 $
since:
   2.0

Inner Class :public static class ModelMemberEntity
Inner Class :public static class ModelAliasAll
Inner Class :public static class ModelAlias
Inner Class :public static interface ComplexAliasMember
Inner Class :public static class ComplexAlias implements ComplexAliasMember
Inner Class :public static class ComplexAliasField implements ComplexAliasMember
Inner Class :public static class ModelViewLink

Field Summary
protected  ListaliasAlls
    
protected  Listaliases
    
protected  ListallModelMemberEntities
    
public static  MapfunctionPrefixMap
    
protected  ListgroupBys
    
protected  MapmemberModelEntities
    
protected  MapmemberModelMemberEntities
    
final public static  Stringmodule
    
protected  ListviewLinks
    

Constructor Summary
public  ModelViewEntity(ModelReader reader, Element entityElement, Element docElement, UtilTimer utilTimer, Hashtable docElementValues)
    
public  ModelViewEntity(DynamicViewEntity dynamicViewEntity, ModelReader modelReader)
    

Method Summary
public  voidaddMemberModelMemberEntity(ModelMemberEntity modelMemberEntity)
    
public  voidaddViewLink(ModelViewLink viewLink)
    
public  StringcolNameString(List flds, String separator, String afterLast, boolean alias)
    
public  ModelAliasgetAlias(int index)
    
public  ModelAliasgetAlias(String name)
    
public  ModelEntitygetAliasedEntity(String entityAlias, ModelReader modelReader)
    
public  ModelFieldgetAliasedField(ModelEntity aliasedEntity, String field, ModelReader modelReader)
    
public  ListgetAliasesCopy()
    
public  IteratorgetAliasesIterator()
    
public  intgetAliasesSize()
    
public  ListgetAllModelMemberEntities()
    
public  StringgetColNameOrAlias(String fieldName)
    
public  ListgetGroupBysCopy()
    
public  ModelEntitygetMemberModelEntity(String alias)
    
public  MapgetMemberModelMemberEntities()
    
public  ModelMemberEntitygetMemberModelMemberEntity(String alias)
    
public  ModelViewLinkgetViewLink(int index)
    
public  ListgetViewLinksCopy()
    
public  IteratorgetViewLinksIterator()
    
public  intgetViewLinksSize()
    
public  voidpopulateFields(ModelReader modelReader)
    
public  voidremoveMemberModelMemberEntity(String alias)
    

Field Detail
aliasAlls
protected List aliasAlls(Code)
List of alias-alls which act as a shortcut for easily pulling over member entity fields



aliases
protected List aliases(Code)
List of aliases with information in addition to what is in the standard field list



allModelMemberEntities
protected List allModelMemberEntities(Code)
A list of all ModelMemberEntity entries; this is mainly used to preserve the original order of member entities from the XML file



functionPrefixMap
public static Map functionPrefixMap(Code)



groupBys
protected List groupBys(Code)
A List of the Field objects for the View Entity, one for each GROUP BY field



memberModelEntities
protected Map memberModelEntities(Code)
Contains member-entity ModelEntities: key is alias, value is ModelEntity; populated with fields



memberModelMemberEntities
protected Map memberModelMemberEntities(Code)
Contains member-entity alias name definitions: key is alias, value is ModelMemberEntity



module
final public static String module(Code)



viewLinks
protected List viewLinks(Code)
List of view links to define how entities are connected (or "joined")




Constructor Detail
ModelViewEntity
public ModelViewEntity(ModelReader reader, Element entityElement, Element docElement, UtilTimer utilTimer, Hashtable docElementValues)(Code)



ModelViewEntity
public ModelViewEntity(DynamicViewEntity dynamicViewEntity, ModelReader modelReader)(Code)




Method Detail
addMemberModelMemberEntity
public void addMemberModelMemberEntity(ModelMemberEntity modelMemberEntity)(Code)



addViewLink
public void addViewLink(ModelViewLink viewLink)(Code)



colNameString
public String colNameString(List flds, String separator, String afterLast, boolean alias)(Code)



getAlias
public ModelAlias getAlias(int index)(Code)
List of aliases with information in addition to what is in the standard field list



getAlias
public ModelAlias getAlias(String name)(Code)



getAliasedEntity
public ModelEntity getAliasedEntity(String entityAlias, ModelReader modelReader)(Code)



getAliasedField
public ModelField getAliasedField(ModelEntity aliasedEntity, String field, ModelReader modelReader)(Code)



getAliasesCopy
public List getAliasesCopy()(Code)



getAliasesIterator
public Iterator getAliasesIterator()(Code)



getAliasesSize
public int getAliasesSize()(Code)



getAllModelMemberEntities
public List getAllModelMemberEntities()(Code)



getColNameOrAlias
public String getColNameOrAlias(String fieldName)(Code)
The col-name of the Field, the alias of the field if this is on a view-entity



getGroupBysCopy
public List getGroupBysCopy()(Code)



getMemberModelEntity
public ModelEntity getMemberModelEntity(String alias)(Code)



getMemberModelMemberEntities
public Map getMemberModelMemberEntities()(Code)



getMemberModelMemberEntity
public ModelMemberEntity getMemberModelMemberEntity(String alias)(Code)



getViewLink
public ModelViewLink getViewLink(int index)(Code)
List of view links to define how entities are connected (or "joined")



getViewLinksCopy
public List getViewLinksCopy()(Code)



getViewLinksIterator
public Iterator getViewLinksIterator()(Code)



getViewLinksSize
public int getViewLinksSize()(Code)



populateFields
public void populateFields(ModelReader modelReader)(Code)



removeMemberModelMemberEntity
public void removeMemberModelMemberEntity(String alias)(Code)



Fields inherited from org.ofbiz.entity.model.ModelEntity
final public static String CREATE_STAMP_FIELD(Code)(Java Doc)
final public static String CREATE_STAMP_TX_FIELD(Code)(Java Doc)
final public static String STAMP_FIELD(Code)(Java Doc)
final public static String STAMP_TX_FIELD(Code)(Java Doc)
protected String author(Code)(Java Doc)
protected String copyright(Code)(Java Doc)
protected String defaultResourceName(Code)(Java Doc)
protected String dependentOn(Code)(Java Doc)
protected String description(Code)(Java Doc)
protected boolean doLock(Code)(Java Doc)
protected String entityName(Code)(Java Doc)
protected List fields(Code)(Java Doc)
protected Map fieldsMap(Code)(Java Doc)
protected List indexes(Code)(Java Doc)
protected ModelReader modelReader(Code)(Java Doc)
final public static String module(Code)(Java Doc)
protected boolean neverCache(Code)(Java Doc)
protected boolean noAutoStamp(Code)(Java Doc)
protected List nopks(Code)(Java Doc)
protected String packageName(Code)(Java Doc)
protected List pks(Code)(Java Doc)
protected List relations(Code)(Java Doc)
protected String tableName(Code)(Java Doc)
protected String title(Code)(Java Doc)
protected String version(Code)(Java Doc)

Methods inherited from org.ofbiz.entity.model.ModelEntity
public void addField(ModelField field)(Code)(Java Doc)
public void addIndex(ModelIndex index)(Code)(Java Doc)
public void addRelation(ModelRelation relation)(Code)(Java Doc)
public boolean areFields(Collection fieldNames)(Code)(Java Doc)
public String classNameString(List flds)(Code)(Java Doc)
public String classNameString(List flds, String separator, String afterLast)(Code)(Java Doc)
public String colNameString(List flds)(Code)(Java Doc)
public String colNameString(List flds, String separator, String afterLast, boolean alias)(Code)(Java Doc)
public int compareTo(Object obj)(Code)(Java Doc)
protected synchronized void createFieldsMap()(Code)(Java Doc)
public String fieldNameString()(Code)(Java Doc)
public String fieldNameString(String separator, String afterLast)(Code)(Java Doc)
public String fieldTypeNameString()(Code)(Java Doc)
public String fieldsStringList(List flds, String eachString, String separator)(Code)(Java Doc)
public String fieldsStringList(List flds, String eachString, String separator, boolean appendIndex)(Code)(Java Doc)
public String fieldsStringList(List flds, String eachString, String separator, boolean appendIndex, boolean onlyNonPK)(Code)(Java Doc)
public String finderQueryString(List flds)(Code)(Java Doc)
public List getAllFieldNames()(Code)(Java Doc)
public String getAuthor()(Code)(Java Doc)
public String getColNameOrAlias(String fieldName)(Code)(Java Doc)
public String getCopyright()(Code)(Java Doc)
public String getDefaultResourceName()(Code)(Java Doc)
public String getDependentOn()(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public boolean getDoLock()(Code)(Java Doc)
public String getEntityName()(Code)(Java Doc)
public ModelField getField(int index)(Code)(Java Doc)
public ModelField getField(String fieldName)(Code)(Java Doc)
public List getFieldNamesFromFieldVector(List modelFields)(Code)(Java Doc)
public List getFieldsCopy()(Code)(Java Doc)
public Iterator getFieldsIterator()(Code)(Java Doc)
public int getFieldsSize()(Code)(Java Doc)
public ModelIndex getIndex(int index)(Code)(Java Doc)
public ModelIndex getIndex(String indexName)(Code)(Java Doc)
public Iterator getIndexesIterator()(Code)(Java Doc)
public int getIndexesSize()(Code)(Java Doc)
public ModelReader getModelReader()(Code)(Java Doc)
public boolean getNeverCache()(Code)(Java Doc)
public boolean getNoAutoStamp()(Code)(Java Doc)
public List getNoPkFieldNames()(Code)(Java Doc)
public ModelField getNopk(int index)(Code)(Java Doc)
public List getNopksCopy()(Code)(Java Doc)
public Iterator getNopksIterator()(Code)(Java Doc)
public int getNopksSize()(Code)(Java Doc)
public String getPackageName()(Code)(Java Doc)
public ModelField getPk(int index)(Code)(Java Doc)
public List getPkFieldNames()(Code)(Java Doc)
public List getPksCopy()(Code)(Java Doc)
public Iterator getPksIterator()(Code)(Java Doc)
public int getPksSize()(Code)(Java Doc)
public String getPlainTableName()(Code)(Java Doc)
public ModelRelation getRelation(int index)(Code)(Java Doc)
public ModelRelation getRelation(String relationName)(Code)(Java Doc)
public Iterator getRelationsIterator()(Code)(Java Doc)
public int getRelationsSize()(Code)(Java Doc)
public String getTableName(String helperName)(Code)(Java Doc)
public String getTableName(EntityConfigUtil.DatasourceInfo datasourceInfo)(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public String getVersion()(Code)(Java Doc)
public String httpArgList(List flds)(Code)(Java Doc)
public String httpArgListFromClass(List flds)(Code)(Java Doc)
public String httpArgListFromClass(List flds, String entityNameSuffix)(Code)(Java Doc)
public String httpRelationArgList(List flds, ModelRelation relation)(Code)(Java Doc)
public boolean isField(String fieldName)(Code)(Java Doc)
public boolean lock()(Code)(Java Doc)
public String nameString(List flds)(Code)(Java Doc)
public String nameString(List flds, String separator, String afterLast)(Code)(Java Doc)
public String nonPkNullList()(Code)(Java Doc)
public String pkNameString()(Code)(Java Doc)
public String pkNameString(String separator, String afterLast)(Code)(Java Doc)
protected void populateBasicInfo(Element entityElement, Element docElement, Hashtable docElementValues)(Code)(Java Doc)
protected void populateIndexes(Element entityElement)(Code)(Java Doc)
protected void populateRelated(ModelReader reader, Element entityElement)(Code)(Java Doc)
public String primKeyClassNameString()(Code)(Java Doc)
public ModelField removeField(int index)(Code)(Java Doc)
public ModelField removeField(String fieldName)(Code)(Java Doc)
public ModelIndex removeIndex(int index)(Code)(Java Doc)
public ModelRelation removeRelation(int index)(Code)(Java Doc)
public void setAuthor(String author)(Code)(Java Doc)
public void setCopyright(String copyright)(Code)(Java Doc)
public void setDefaultResourceName(String defaultResourceName)(Code)(Java Doc)
public void setDependentOn(String dependentOn)(Code)(Java Doc)
public void setDescription(String description)(Code)(Java Doc)
public void setDoLock(boolean doLock)(Code)(Java Doc)
public void setEntityName(String entityName)(Code)(Java Doc)
public void setNeverCache(boolean neverCache)(Code)(Java Doc)
public void setNoAutoStamp(boolean noAutoStamp)(Code)(Java Doc)
public void setPackageName(String packageName)(Code)(Java Doc)
public void setTableName(String tableName)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setVersion(String version)(Code)(Java Doc)
public String typeNameString(List flds)(Code)(Java Doc)
public String typeNameStringRelatedAndMain(List flds, ModelRelation relation)(Code)(Java Doc)
public String typeNameStringRelatedNoMapped(List flds, ModelRelation relation)(Code)(Java Doc)
public void updatePkLists()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.