FileDocCategorySizeDatePackage
ClassDetails.javaAPI DocGlassfish v2 API5327Tue May 22 16:54:44 BST 2007oracle.toplink.essentials.internal.weaving

ClassDetails

public class ClassDetails extends Object
INTERNAL: Internal helper class that holds details of a persistent class. Used by {@link TopLinkWeaver}

Fields Summary
protected String
className
protected String
superClassName
protected ClassDetails
superClassDetails
protected boolean
weaveValueHolders
protected Map
attributesMap
protected Map
getterMethodToAttributeDetails
protected Map
setterMethodToAttributeDetails
protected List
lazyOneToOneMappings
protected boolean
isMappedSuperClass
Constructors Summary
public ClassDetails()

	
	// default constructor
	  
	
Methods Summary
public oracle.toplink.essentials.internal.weaving.AttributeDetailsgetAttributeDetailsFromClassOrSuperClass(java.lang.String attributeName)

        AttributeDetails attribute = (AttributeDetails)attributesMap.get(attributeName);
        if (attribute == null && superClassDetails != null){
            return superClassDetails.getAttributeDetailsFromClassOrSuperClass(attributeName);
        }
       return attribute; 
    
public java.util.MapgetAttributesMap()

		return attributesMap;
	
public java.lang.StringgetClassName()

		return className;
	
public java.util.MapgetGetterMethodToAttributeDetails()

        return getterMethodToAttributeDetails;
    
public java.util.ListgetLazyOneToOneMappings()

        return lazyOneToOneMappings;
    
public java.util.MapgetSetterMethodToAttributeDetails()

        return setterMethodToAttributeDetails;
    
public oracle.toplink.essentials.internal.weaving.ClassDetailsgetSuperClassDetails()

		return superClassDetails;
	
public java.lang.StringgetSuperClassName()

		return superClassName;
	
public booleanisMappedSuperClass()

        return isMappedSuperClass;
    
public voidsetAttributesMap(java.util.Map weavedVHAttributes)

		this.attributesMap = weavedVHAttributes;
	
public voidsetClassName(java.lang.String className)

		this.className = className;
	
public voidsetGetterMethodToAttributeDetails(java.util.Map map)

        getterMethodToAttributeDetails = map;
    
public voidsetIsMappedSuperClass(boolean isMappedSuperClass)

        this.isMappedSuperClass = isMappedSuperClass;
    
public voidsetLazyOneToOneMappings(java.util.List lazyOneToOneMappings)

        this.lazyOneToOneMappings = lazyOneToOneMappings;
    
public voidsetSetterMethodToAttributeDetails(java.util.Map map)

        setterMethodToAttributeDetails = map;
    
public voidsetSuperClassDetails(oracle.toplink.essentials.internal.weaving.ClassDetails superClassDetails)

		this.superClassDetails = superClassDetails;
	
public voidsetSuperClassName(java.lang.String superClassName)

		this.superClassName = superClassName;
	
public java.lang.StringtoString()

		StringBuffer sb = new StringBuffer(className);
		sb.append(" extends ");
		sb.append(superClassName);
		sb.append(" weaveVH: ");
		if (weavedValueHolders()) {
			sb.append("true");
		}
		else {
			sb.append("false");
		}
		return sb.toString();
	
public voidweaveValueHolders(boolean weaveValueHolders)

		this.weaveValueHolders = weaveValueHolders;
	
public booleanweavedValueHolders()

		return weaveValueHolders;