Class ComponentPOJOClass
java.lang.Object
org.hibernate.tool.internal.export.java.BasicPOJOClass
org.hibernate.tool.internal.export.java.ComponentPOJOClass
- All Implemented Interfaces:
ImportContext,MetaAttributeConstants,POJOClass
-
Field Summary
Fields inherited from class org.hibernate.tool.internal.export.java.BasicPOJOClass
c2j, importContext, metaFields inherited from interface org.hibernate.tool.internal.export.java.MetaAttributeConstants
CLASS_DESCRIPTION, CLASS_MODIFIER, EXTENDS, GEN_PROPERTY, GENERATED_CLASS, IMPLEMENTS, INTERFACE, SCOPE_CLASS -
Constructor Summary
ConstructorsConstructorDescriptionComponentPOJOClass(org.hibernate.mapping.Component component, Cfg2JavaTool cfg) -
Method Summary
Modifier and TypeMethodDescriptiongenerateBasicAnnotation(org.hibernate.mapping.Property property) Iterator<org.hibernate.mapping.Property> returns the properties that would be visible on this entity as a pojo.org.hibernate.mapping.Propertyprotected StringList<org.hibernate.mapping.Property> List<org.hibernate.mapping.Property> List<org.hibernate.mapping.Property> List<org.hibernate.mapping.Property> List<org.hibernate.mapping.Property> List<org.hibernate.mapping.Property> org.hibernate.mapping.PropertybooleanbooleanbooleanbooleanbooleantoString()Methods inherited from class org.hibernate.tool.internal.export.java.BasicPOJOClass
appendCommonColumnInfo, beanCapitalize, generateAnnColumnAnnotation, generateEquals, generateEquals, generateHashCode, generateImports, getClassJavaDoc, getClassModifiers, getCollectionNameFor, getDeclarationName, getDeclarationType, getEqualsHashCodePropertiesIterator, getExtendsDeclaration, getExtraClassCode, getFieldDescription, getFieldInitialization, getFieldJavaDoc, getFieldModifiers, getGeneratedClassName, getGetterSignature, getImplementsDeclaration, getJavaTypeName, getMetaAsBool, getMetaAsBool, getMetaAsString, getMetaAsString, getMetaAttribAsBool, getPackageDeclaration, getPackageDeclaration, getPackageName, getPropertyGetModifiers, getPropertyName, getPropertySetModifiers, getQualifiedDeclarationName, getShortName, getToStringPropertiesIterator, hasFieldInitializor, hasFieldJavaDoc, hasMetaAttribute, hasMetaAttribute, importType, init, isComponent, isInterface, isRequiredInConstructor, needsEqualsHashCode, needsFullConstructor, needsMinimalConstructor, needsToString, qualifyInnerClass, staticImport
-
Constructor Details
-
ComponentPOJOClass
-
-
Method Details
-
getMappedClassName
- Specified by:
getMappedClassNamein classBasicPOJOClass
-
getExtends
- Specified by:
getExtendsin interfacePOJOClass- Specified by:
getExtendsin classBasicPOJOClass
-
getImplements
- Specified by:
getImplementsin interfacePOJOClass- Specified by:
getImplementsin classBasicPOJOClass
-
getAllPropertiesIterator
Description copied from class:BasicPOJOClassreturns the properties that would be visible on this entity as a pojo. This does not return *all* properties since hibernate has certain properties that are only relevant in context of persistence.- Specified by:
getAllPropertiesIteratorin interfacePOJOClass- Specified by:
getAllPropertiesIteratorin classBasicPOJOClass
-
isComponent
public boolean isComponent() -
hasIdentifierProperty
public boolean hasIdentifierProperty() -
needsAnnTableUniqueConstraints
public boolean needsAnnTableUniqueConstraints() -
generateBasicAnnotation
- Specified by:
generateBasicAnnotationin interfacePOJOClass- Overrides:
generateBasicAnnotationin classBasicPOJOClass
-
generateAnnIdGenerator
-
generateAnnTableUniqueConstraint
-
getDecoratedObject
-
isSubclass
public boolean isSubclass() -
getPropertiesForFullConstructor
-
getPropertyClosureForFullConstructor
-
getPropertyClosureForSuperclassFullConstructor
-
getPropertiesForMinimalConstructor
-
getPropertyClosureForMinimalConstructor
-
getPropertyClosureForSuperclassMinimalConstructor
-
getSuperClass
-
toString
-
getIdentifierProperty
public org.hibernate.mapping.Property getIdentifierProperty() -
hasVersionProperty
public boolean hasVersionProperty() -
getVersionProperty
public org.hibernate.mapping.Property getVersionProperty()
-