org.chromattic.core.mapping
Class NodeTypeMapping

java.lang.Object
  extended by org.chromattic.core.mapping.NodeTypeMapping
Direct Known Subclasses:
MixinTypeMapping, PrimaryTypeMapping

public abstract class NodeTypeMapping
extends Object

The meta data for the mapping of a java class to a node type and set of mixins. Note that

Version:
$Revision$
Author:
Julien Viet

Field Summary
protected  org.reflext.api.ClassTypeInfo objectClass
          .
 
Constructor Summary
NodeTypeMapping(org.reflext.api.ClassTypeInfo objectClass, Set<PropertyMapping> propertyMappings, Set<MethodMapping> methodMappings, NameConflictResolution onDuplicate, Class<? extends ObjectFormatter> formatterClass)
           
 
Method Summary
 boolean equals(Object obj)
           
 Class<? extends ObjectFormatter> getFormatterClass()
           
 Set<MethodMapping> getMethodMappings()
           
 org.reflext.api.ClassTypeInfo getObjectClass()
           
 NameConflictResolution getOnDuplicate()
           
 Set<PropertyMapping> getPropertyMappings()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectClass

protected final org.reflext.api.ClassTypeInfo objectClass
.

Constructor Detail

NodeTypeMapping

public NodeTypeMapping(org.reflext.api.ClassTypeInfo objectClass,
                       Set<PropertyMapping> propertyMappings,
                       Set<MethodMapping> methodMappings,
                       NameConflictResolution onDuplicate,
                       Class<? extends ObjectFormatter> formatterClass)
Method Detail

getObjectClass

public org.reflext.api.ClassTypeInfo getObjectClass()

getFormatterClass

public Class<? extends ObjectFormatter> getFormatterClass()

getPropertyMappings

public Set<PropertyMapping> getPropertyMappings()

getMethodMappings

public Set<MethodMapping> getMethodMappings()

getOnDuplicate

public NameConflictResolution getOnDuplicate()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 eXo Platform SAS. All Rights Reserved.