org.hibernate.metamodel.source.annotations.attribute
Class BasicAttribute
java.lang.Object
   org.hibernate.metamodel.source.annotations.attribute.MappedAttribute
org.hibernate.metamodel.source.annotations.attribute.MappedAttribute
       org.hibernate.metamodel.source.annotations.attribute.BasicAttribute
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:
- isLazyin class- MappedAttribute
 
- 
 
isOptional
public boolean isOptional()
- 
- Specified by:
- isOptionalin class- MappedAttribute
 
- 
 
isInsertable
public boolean isInsertable()
- 
- Specified by:
- isInsertablein class- MappedAttribute
 
- 
 
isUpdatable
public boolean isUpdatable()
- 
- Specified by:
- isUpdatablein class- MappedAttribute
 
- 
 
getPropertyGeneration
public PropertyGeneration getPropertyGeneration()
- 
- Specified by:
- getPropertyGenerationin class- MappedAttribute
 
- 
 
getCustomWriteFragment
public String getCustomWriteFragment()
- 
 
getCustomReadFragment
public String getCustomReadFragment()
- 
 
getCheckCondition
public String getCheckCondition()
- 
 
getIdGenerator
public IdGenerator getIdGenerator()
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- MappedAttribute
 
- 
 
getHibernateTypeResolver
public AttributeTypeResolver getHibernateTypeResolver()
- 
- Specified by:
- getHibernateTypeResolverin class- MappedAttribute
 
- 
 
Copyright © 2001-2012 Red Hat, Inc.  All Rights Reserved.