Java Doc for ClassMapping.java in » Search-Engine » compass-2.0 » org » compass » core » mapping » osem » 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
»
Search Engine
»
compass 2.0
»
org.compass.core.mapping.osem
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.compass.core.mapping
.AbstractResourceMapping
org.compass.core.mapping.osem
.ClassMapping
ClassMapping
public
class ClassMapping extends
AbstractResourceMapping
implements
ResourceMapping
,
PostProcessingMapping
(Code)
author:
kimchy
Inner Class :
public
class PostProcessMappingCallback extends
OsemMappingIterator.ClassPropertyAndResourcePropertyGatherer
Method Summary
public
Mapping
copy
()
protected
void
doPostProcess
()
Post process by using the dynamic find operations to cache them.
public
List
<
ClassIdPropertyMapping
>
findClassPropertyIdMappings
()
Dynamically finds all the
ClassIdPropertyMapping
s for the class.
public
List
<
Mapping
>
findIdMappings
()
Dynamically find the id mappings.
public
ClassIdPropertyMapping
[]
getClassIdPropertyMappings
()
public
PropertyPath
getClassPath
()
public
ClassPropertyMapping
[]
getClassPropertyMappings
()
public
Class
getClazz
()
public
Constructor
getConstructor
()
public
ClassPropertyMapping.ManagedId
getManagedId
()
public
Class
getPolyClass
()
In case poly is set to
true
, this will be the class that will be instanciated for all persisted classes.
public
Constructor
getPolyConstructor
()
public
ResourcePropertyMapping
getResourcePropertyMappingByDotPath
(
String
path)
public
ResourcePropertyMapping
[]
getResourcePropertyMappings
()
public
boolean
isPoly
()
public
boolean
isSupportUnmarshall
()
public
boolean
isSupportUnmarshallSet
()
public
void
setClassPath
(
PropertyPath
classPath)
public
void
setClazz
(
Class
clazz)
public
void
setConstructor
(
Constructor
constructor)
public
void
setManagedId
(
ClassPropertyMapping.ManagedId
managedId)
public
void
setPoly
(boolean poly)
public
void
setPolyClass
(
Class
polyClass)
public
void
setPolyConstructor
(
Constructor
polyConstructor)
public
void
setSupportUnmarshall
(boolean supportUnmarshall)
public
AliasMapping
shallowCopy
()
Method Detail
copy
public
Mapping
copy()
(Code)
doPostProcess
protected
void doPostProcess() throws
MappingException
(Code)
Post process by using the dynamic find operations to cache them.
throws:
MappingException
-
findClassPropertyIdMappings
public
List
<
ClassIdPropertyMapping
> findClassPropertyIdMappings()
(Code)
Dynamically finds all the
ClassIdPropertyMapping
s for the class.
findIdMappings
public
List
<
Mapping
> findIdMappings()
(Code)
Dynamically find the id mappings.
getClassIdPropertyMappings
public
ClassIdPropertyMapping
[] getClassIdPropertyMappings()
(Code)
getClassPath
public
PropertyPath
getClassPath()
(Code)
getClassPropertyMappings
public
ClassPropertyMapping
[] getClassPropertyMappings()
(Code)
getClazz
public
Class
getClazz()
(Code)
getConstructor
public
Constructor
getConstructor()
(Code)
getManagedId
public
ClassPropertyMapping.ManagedId
getManagedId()
(Code)
getPolyClass
public
Class
getPolyClass()
(Code)
In case poly is set to
true
, this will be the class that will be instanciated for all persisted classes. If not set, Compass will persist the actual class in the index, and will use it to instanciate the class.
getPolyConstructor
public
Constructor
getPolyConstructor()
(Code)
getResourcePropertyMappingByDotPath
public
ResourcePropertyMapping
getResourcePropertyMappingByDotPath(
String
path)
(Code)
getResourcePropertyMappings
public
ResourcePropertyMapping
[] getResourcePropertyMappings()
(Code)
isPoly
public
boolean isPoly()
(Code)
isSupportUnmarshall
public
boolean isSupportUnmarshall()
(Code)
isSupportUnmarshallSet
public
boolean isSupportUnmarshallSet()
(Code)
setClassPath
public
void setClassPath(
PropertyPath
classPath)
(Code)
setClazz
public
void setClazz(
Class
clazz)
(Code)
setConstructor
public
void setConstructor(
Constructor
constructor)
(Code)
setManagedId
public
void setManagedId(
ClassPropertyMapping.ManagedId
managedId)
(Code)
setPoly
public
void setPoly(boolean poly)
(Code)
setPolyClass
public
void setPolyClass(
Class
polyClass)
(Code)
setPolyConstructor
public
void setPolyConstructor(
Constructor
polyConstructor)
(Code)
setSupportUnmarshall
public
void setSupportUnmarshall(boolean supportUnmarshall)
(Code)
shallowCopy
public
AliasMapping
shallowCopy()
(Code)
Methods inherited from
org.compass.core.mapping.AbstractResourceMapping
public
int addMapping(
Mapping
mapping)
(Code)
(Java Doc)
protected
void copy(
AbstractResourceMapping
resourceMapping)
(Code)
(Java Doc)
abstract
protected
void doPostProcess() throws
MappingException
(Code)
(Java Doc)
public
String
getAlias()
(Code)
(Java Doc)
public
AllMapping
getAllMapping()
(Code)
(Java Doc)
public
String
getAnalyzer()
(Code)
(Java Doc)
public
ResourceAnalyzerController
getAnalyzerController()
(Code)
(Java Doc)
public
float getBoost()
(Code)
(Java Doc)
public
BoostPropertyMapping
getBoostPropertyMapping()
(Code)
(Java Doc)
public
CascadeMapping
[] getCascadeMappings()
(Code)
(Java Doc)
public
String
[] getExtendedAliases()
(Code)
(Java Doc)
public
String
[] getExtendingAliases()
(Code)
(Java Doc)
public
Mapping
[] getIdMappings()
(Code)
(Java Doc)
public
ResourcePropertyMapping
[] getResourceIdMappings()
(Code)
(Java Doc)
public
ResourcePropertyMapping
getResourcePropertyMapping(
String
propertyName)
(Code)
(Java Doc)
public
ResourcePropertyMapping
getResourcePropertyMappingByPath(
PropertyPath
path)
(Code)
(Java Doc)
public
ResourcePropertyMapping
[] getResourcePropertyMappings(
String
propertyName)
(Code)
(Java Doc)
public
String
[] getResourcePropertyNames()
(Code)
(Java Doc)
public
SpellCheckType
getSpellCheck()
(Code)
(Java Doc)
public
SubIndexHash
getSubIndexHash()
(Code)
(Java Doc)
public
String
getUIDPath()
(Code)
(Java Doc)
public
boolean hasSpecificAnalyzerPerResourceProperty()
(Code)
(Java Doc)
public
boolean isRoot()
(Code)
(Java Doc)
public
boolean operationAllowed(
CascadeMapping.Cascade
cascade)
(Code)
(Java Doc)
public
void postProcess() throws
MappingException
(Code)
(Java Doc)
public
void setAlias(
String
alias)
(Code)
(Java Doc)
public
void setAllMapping(
AllMapping
allMapping)
(Code)
(Java Doc)
public
void setAnalyzer(
String
analyzer)
(Code)
(Java Doc)
public
void setAnalyzerController(
ResourceAnalyzerController
analyzerController)
(Code)
(Java Doc)
public
void setBoost(float boost)
(Code)
(Java Doc)
public
void setBoostPropertyMapping(
BoostPropertyMapping
boostPropertyMapping)
(Code)
(Java Doc)
public
void setCascades(
CascadeMapping
[] cascades)
(Code)
(Java Doc)
public
void setExtendedAliases(
String
[] extendedMappings)
(Code)
(Java Doc)
public
void setExtendingAliases(
String
[] extendingAliases)
(Code)
(Java Doc)
public
void setRoot(boolean isRoot)
(Code)
(Java Doc)
public
void setSpellCheck(
SpellCheckType
spellCheck)
(Code)
(Java Doc)
public
void setSubIndexHash(
SubIndexHash
subIndexHash)
(Code)
(Java Doc)
public
void setUIDPath(
String
uid)
(Code)
(Java Doc)
public
void shallowCopy(
AbstractResourceMapping
resourceMapping)
(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.