public abstract class CollectionType extends java.lang.Object
A Collection type, for the moment only Set is supported
| Modifiers | Name | Description |
|---|---|---|
protected MetadataBuildingContext |
buildingContext |
The building context. |
protected java.lang.Class<?> |
clazz |
The clazz. |
| Constructor and description |
|---|
protected CollectionType(java.lang.Class<?> clazz, MetadataBuildingContext buildingContext)Creates a new CollectionType instance. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.util.Collection |
create(HibernateToManyProperty property, PersistentClass owner)Create. |
|
public abstract java.util.Collection |
createCollection(PersistentClass owner)Create collection. |
|
public java.lang.String |
getTypeName(HibernateToManyProperty property)Gets the type name. |
|
public java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
The building context.
The clazz.
Creates a new CollectionType instance.
Create.
Create collection.
Gets the type name.