Top Description Fields Constructors Methods
org.hibernate.metamodel.model.domain.internal

public Class MapMember

extends Object
implements Member
Class Inheritance
All Implemented Interfaces
java.lang.reflect.Member
Imports
java.lang.reflect.Member, .Modifier

Acts as a virtual Member definition for dynamic (Map-based) models.
Author
Brad Koehn

Field Summary

Modifier and TypeField and Description
private String
private final Class<?>

Constructor Summary

AccessConstructor and Description
public
MapMember(String name, Class<?> type)

Method Summary

Modifier and TypeMethod and Description
public Class<?>
getDeclaringClass()

Implements java.lang.reflect.Member.getDeclaringClass.

Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
public int
getModifiers()

Implements java.lang.reflect.Member.getModifiers.

Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
public String
getName()

Implements java.lang.reflect.Member.getName.

Returns the simple name of the underlying member or constructor represented by this Member.
public Class<?>
public boolean
isSynthetic()

Implements java.lang.reflect.Member.isSynthetic.

Returns true if this member was introduced by the compiler; returns false otherwise.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private String name
typeback to summary
private final Class<?> type

Constructor Detail

MapMemberback to summary
public MapMember(String name, Class<?> type)

Method Detail

getDeclaringClassback to summary
public Class<?> getDeclaringClass()

Implements java.lang.reflect.Member.getDeclaringClass.

Doc from java.lang.reflect.Member.getDeclaringClass.

Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.

Returns:Class<?>

an object representing the declaring class of the underlying member

getModifiersback to summary
public int getModifiers()

Implements java.lang.reflect.Member.getModifiers.

Doc from java.lang.reflect.Member.getModifiers.

Returns the Java language modifiers for the member or constructor represented by this Member, as an integer. The Modifier class should be used to decode the modifiers in the integer.

Returns:int

the Java language modifiers for the underlying member

getNameback to summary
public String getName()

Implements java.lang.reflect.Member.getName.

Doc from java.lang.reflect.Member.getName.

Returns the simple name of the underlying member or constructor represented by this Member.

Returns:String

the simple name of the underlying member

getTypeback to summary
public Class<?> getType()
isSyntheticback to summary
public boolean isSynthetic()

Implements java.lang.reflect.Member.isSynthetic.

Doc from java.lang.reflect.Member.isSynthetic.

Returns true if this member was introduced by the compiler; returns false otherwise.

Returns:boolean

true if and only if this member was introduced by the compiler.