org.hibernate.metamodel.source.annotations.attribute
Class BasicAttribute
java.lang.Object
org.hibernate.metamodel.source.annotations.attribute.MappedAttribute
org.hibernate.metamodel.source.annotations.attribute.BasicAttribute
- All Implemented Interfaces:
- Comparable<MappedAttribute>
public class BasicAttribute
- extends MappedAttribute
Represent a basic attribute (explicitly or implicitly mapped).
createSimpleAttribute
public static BasicAttribute createSimpleAttribute(String name,
Class<?> attributeType,
Map<org.jboss.jandex.DotName,List<org.jboss.jandex.AnnotationInstance>> annotations,
String accessType,
EntityBindingContext context)
isVersioned
public boolean isVersioned()
isLazy
public boolean isLazy()
- Specified by:
isLazy
in class MappedAttribute
isOptional
public boolean isOptional()
- Specified by:
isOptional
in class MappedAttribute
isInsertable
public boolean isInsertable()
- Specified by:
isInsertable
in class MappedAttribute
isUpdatable
public boolean isUpdatable()
- Specified by:
isUpdatable
in class MappedAttribute
getPropertyGeneration
public PropertyGeneration getPropertyGeneration()
- Specified by:
getPropertyGeneration
in class MappedAttribute
getCustomWriteFragment
public String getCustomWriteFragment()
getCustomReadFragment
public String getCustomReadFragment()
getCheckCondition
public String getCheckCondition()
getIdGenerator
public IdGenerator getIdGenerator()
toString
public String toString()
- Overrides:
toString
in class MappedAttribute
getHibernateTypeResolver
public AttributeTypeResolver getHibernateTypeResolver()
- Specified by:
getHibernateTypeResolver
in class MappedAttribute
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.