Class ReflectiveAttributeDefinition
- java.lang.Object
-
- org.eclipse.persistence.internal.codegen.CodeDefinition
-
- org.eclipse.persistence.internal.codegen.AttributeDefinition
-
- org.eclipse.persistence.internal.codegen.ReflectiveAttributeDefinition
-
public class ReflectiveAttributeDefinition extends AttributeDefinition
INTERNAL:Purpose: Model an attribute for code generation purposes, using a java.lang.Class for the attribute type.
- Since:
- TopLink 5.0
- Author:
- Paul Fullbright
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Classtype-
Fields inherited from class org.eclipse.persistence.internal.codegen.AttributeDefinition
initialValue
-
Fields inherited from class org.eclipse.persistence.internal.codegen.CodeDefinition
accessLevel, comment, JAVA_LANG_PACKAGE_NAME, JAVA_UTIL_PACKAGE_NAME, name, TOPLINK_INDIRECTION_PACKAGE_NAME
-
-
Constructor Summary
Constructors Constructor Description ReflectiveAttributeDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetType()protected java.lang.StringgetTypeName()voidsetType(java.lang.Class type)-
Methods inherited from class org.eclipse.persistence.internal.codegen.AttributeDefinition
adjustTypeNames, getInitialValue, putTypeNamesInMap, setInitialValue, writeBody
-
Methods inherited from class org.eclipse.persistence.internal.codegen.CodeDefinition
adjustTypeName, getAccessLevel, getComment, getName, parseForTypeNames, putTypeNameInMap, setAccessLevel, setComment, setName, toString, write
-
-
-
-
Method Detail
-
getType
public java.lang.Class getType()
-
getTypeName
protected java.lang.String getTypeName()
- Specified by:
getTypeNamein classAttributeDefinition
-
setType
public void setType(java.lang.Class type)
-
-