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 Class
type
-
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 Class
getType()
protected String
getTypeName()
void
setType(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
-
-
-
-
Field Detail
-
type
protected Class type
-
-
Method Detail
-
getType
public Class getType()
-
getTypeName
protected String getTypeName()
- Specified by:
getTypeName
in classAttributeDefinition
-
setType
public void setType(Class type)
-
-