Java Doc for RDMSchema.java in  » Portal » Open-Portal » com » sun » portal » search » rdm » 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 » Portal » Open Portal » com.sun.portal.search.rdm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.search.rdm.RDMSchema

RDMSchema
public class RDMSchema (Code)
RDM Schema A Schema specifies how to interpret the SOIF objects for a given Schema-Name. For example, a schema may define that the SOIF object called @DOCUMENT may contain the following Attributes: Author, Last-Modified, Description, Content-Length, etc. Furthermore, define how to interpret the individual values for those Attributes. For example, the Author attribute's value may be defined as a string. The RDM @SCHEMA definition contains the following attributes: column-name multivalued content-type multivalued data-type multivalued default-view-attribute multivalued default-view-order multivalued enforce-uniqueness multivalued foreign-key-system-column-name multivalued foreign-key-system-table-name multivalued in-root-table multivalued index-attribute multivalued is-internal multivalued score-multiplier multivalued (PS 6.1) number-of-entries single-value schema-definition-language-version single-value schema-name single-value soif-attribute multivalued system-column-name multivalued system-table-name multivalued table-name multivalued


Field Summary
 Mapaliases
    
static  SOIFclassSchemaSOIF
    
static  SOIFdbSchemaSOIF
    
static  MapschemaMap
    
 SOIFsoif
    

Constructor Summary
public  RDMSchema(SOIF s)
    

Method Summary
public  StringaliasesToString()
    
protected  voidcreateAliasMap()
    
public  voiddeleteColumn(int column)
    
public  voiddeleteColumn(String columnName)
    
final public  StringgetAliases(int column)
    
public static  SOIFgetClassificationSchemaSOIF()
    
final public  StringgetColumnName(int column)
    
public  intgetColumnNumber(String columnName)
    
final public  StringgetContentType(int column)
    
final public  StringgetDBIndexAttribute(int column)
    
final public  StringgetDataType(int column)
    
public static  SOIFgetDatabaseSchemaSOIF()
    
final public  StringgetDescription(int column)
    
final public  StringgetEditAttribute(int column)
    
final public  StringgetEnforceUnique(int column)
    
final public  StringgetFKSysColumnName(int column)
    
final public  StringgetFKSysTableName(int column)
    
final public  StringgetInRoot(int column)
    
final public  StringgetIndexAttribute(int column)
    
final public  StringgetIsAlertable(int column)
    
final public  StringgetIsInternal(int column)
    
final public  intgetMaxIndex()
    
final public  StringgetName()
    
final public  StringgetNumEntries()
    
final public  intgetNumEntriesInt()
    
final public  SOIFgetSOIF()
    
final public  StringgetSOIFAttribute(int column)
     Macros for accessing common multi-valued @SCHEMA values Use prototype: char *getXXX(RDMSchema *schema, int MultivalcolumnNum).
public static  RDMSchemagetSchema(String objType)
    
final public  StringgetSysColumnName(int column)
    
final public  StringgetSysTableName(int column)
    
final public  StringgetTableName(int column)
    
final public  StringgetValue(String field, String attr)
    
final public  StringgetVersion()
    
final public  StringgetViewAttributeDefault(int column)
    
final public  StringgetViewOrderDefault(int column)
    
public  intmapAliases(SOIF s)
    
public static  RDMSchemaregister(RDMSchema rds)
    
final  voidremoveOrReplace(String field, String value, int column)
    
public  Stringschema_attr_type(String attr)
    
public  String[]schema_index_attrs()
    
public  String[]schema_nonInternal_attrs()
    
final public  voidsetAliases(int column, String s)
    
final public  voidsetColumnName(int column, String s)
    
final public  voidsetContentType(int column, String s)
    
final public  voidsetDBIndexAttribute(int column, String s)
    
final public  voidsetDataType(int column, String s)
    
final public  voidsetDescription(int column, String s)
    
final public  voidsetEditAttribute(int column, String s)
    
final public  voidsetEnforceUnique(int column, String s)
    
final public  voidsetFKSysColumnName(int column, String s)
    
final public  voidsetFKSysTableName(int column, String s)
    
final public  voidsetInRoot(int column, String s)
    
final public  voidsetIndexAttribute(int column, String s)
    
final public  voidsetIsAlertable(int column, String s)
    
final public  voidsetIsInternal(int column, String s)
    
final public  voidsetName(String s)
    
final public  voidsetNumEntries(String s)
    
final public  voidsetSOIFAttribute(int column, String s)
     Macros for defining common multi-valued @SCHEMA values Use prototype: int setXXX(RDMSchema *schema, int MultivalcolumnNum, char *newval).
final public  voidsetSysColumnName(int column, String s)
    
final public  voidsetSysTableName(int column, String s)
    
final public  voidsetTableName(int column, String s)
    
final public  voidsetValue(String field, String attr, String value)
    
final public  voidsetVersion(String s)
    
final public  voidsetViewAttributeDefault(int column, String s)
    
final public  voidsetViewOrderDefault(int column, String s)
    

Field Detail
aliases
Map aliases(Code)



classSchemaSOIF
static SOIF classSchemaSOIF(Code)



dbSchemaSOIF
static SOIF dbSchemaSOIF(Code)



schemaMap
static Map schemaMap(Code)



soif
SOIF soif(Code)




Constructor Detail
RDMSchema
public RDMSchema(SOIF s) throws Exception(Code)




Method Detail
aliasesToString
public String aliasesToString()(Code)



createAliasMap
protected void createAliasMap() throws Exception(Code)



deleteColumn
public void deleteColumn(int column)(Code)
To remove a numbered column from the RDMSchema object



deleteColumn
public void deleteColumn(String columnName)(Code)
To remove a named column from the RDMSchema object



getAliases
final public String getAliases(int column)(Code)



getClassificationSchemaSOIF
public static SOIF getClassificationSchemaSOIF()(Code)
Creates new ClassificationSchema



getColumnName
final public String getColumnName(int column)(Code)



getColumnNumber
public int getColumnNumber(String columnName)(Code)



getContentType
final public String getContentType(int column)(Code)



getDBIndexAttribute
final public String getDBIndexAttribute(int column)(Code)



getDataType
final public String getDataType(int column)(Code)



getDatabaseSchemaSOIF
public static SOIF getDatabaseSchemaSOIF()(Code)
Creates new ClassificationSchema



getDescription
final public String getDescription(int column)(Code)



getEditAttribute
final public String getEditAttribute(int column)(Code)



getEnforceUnique
final public String getEnforceUnique(int column)(Code)



getFKSysColumnName
final public String getFKSysColumnName(int column)(Code)



getFKSysTableName
final public String getFKSysTableName(int column)(Code)



getInRoot
final public String getInRoot(int column)(Code)



getIndexAttribute
final public String getIndexAttribute(int column)(Code)



getIsAlertable
final public String getIsAlertable(int column)(Code)



getIsInternal
final public String getIsInternal(int column)(Code)



getMaxIndex
final public int getMaxIndex()(Code)



getName
final public String getName()(Code)



getNumEntries
final public String getNumEntries()(Code)



getNumEntriesInt
final public int getNumEntriesInt()(Code)



getSOIF
final public SOIF getSOIF()(Code)



getSOIFAttribute
final public String getSOIFAttribute(int column)(Code)
Macros for accessing common multi-valued @SCHEMA values Use prototype: char *getXXX(RDMSchema *schema, int MultivalcolumnNum).



getSchema
public static RDMSchema getSchema(String objType)(Code)
the RDM Schema for a given object type



getSysColumnName
final public String getSysColumnName(int column)(Code)



getSysTableName
final public String getSysTableName(int column)(Code)



getTableName
final public String getTableName(int column)(Code)



getValue
final public String getValue(String field, String attr)(Code)



getVersion
final public String getVersion()(Code)
Macros for accessing single-value @SCHEMA values Use prototype: char *getXXX(RDMSchema *s)



getViewAttributeDefault
final public String getViewAttributeDefault(int column)(Code)



getViewOrderDefault
final public String getViewOrderDefault(int column)(Code)



mapAliases
public int mapAliases(SOIF s)(Code)
This modifies the SOIF by renaming aliased attributes to their cnames



register
public static RDMSchema register(RDMSchema rds) throws Exception(Code)
Factory method to create and register a schema object type



removeOrReplace
final void removeOrReplace(String field, String value, int column)(Code)



schema_attr_type
public String schema_attr_type(String attr)(Code)



schema_index_attrs
public String[] schema_index_attrs()(Code)
array of indexed attributes



schema_nonInternal_attrs
public String[] schema_nonInternal_attrs()(Code)
array of non-internal attributes



setAliases
final public void setAliases(int column, String s)(Code)



setColumnName
final public void setColumnName(int column, String s)(Code)



setContentType
final public void setContentType(int column, String s)(Code)



setDBIndexAttribute
final public void setDBIndexAttribute(int column, String s)(Code)



setDataType
final public void setDataType(int column, String s)(Code)



setDescription
final public void setDescription(int column, String s)(Code)



setEditAttribute
final public void setEditAttribute(int column, String s)(Code)



setEnforceUnique
final public void setEnforceUnique(int column, String s)(Code)



setFKSysColumnName
final public void setFKSysColumnName(int column, String s)(Code)



setFKSysTableName
final public void setFKSysTableName(int column, String s)(Code)



setInRoot
final public void setInRoot(int column, String s)(Code)



setIndexAttribute
final public void setIndexAttribute(int column, String s)(Code)



setIsAlertable
final public void setIsAlertable(int column, String s)(Code)



setIsInternal
final public void setIsInternal(int column, String s)(Code)



setName
final public void setName(String s)(Code)



setNumEntries
final public void setNumEntries(String s)(Code)



setSOIFAttribute
final public void setSOIFAttribute(int column, String s)(Code)
Macros for defining common multi-valued @SCHEMA values Use prototype: int setXXX(RDMSchema *schema, int MultivalcolumnNum, char *newval).



setSysColumnName
final public void setSysColumnName(int column, String s)(Code)



setSysTableName
final public void setSysTableName(int column, String s)(Code)



setTableName
final public void setTableName(int column, String s)(Code)



setValue
final public void setValue(String field, String attr, String value)(Code)



setVersion
final public void setVersion(String s)(Code)
Macros for defining single-value @SCHEMA values Use prototype: int setXXX(RDMSchema *schema, char *newval)



setViewAttributeDefault
final public void setViewAttributeDefault(int column, String s)(Code)



setViewOrderDefault
final public void setViewOrderDefault(int column, String s)(Code)



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.