| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private IdentifierGenerator | |
| private String | |
| private boolean | |
| private boolean | |
| private boolean | |
| private Map | |
| private String | |
| private PersistentClass | |
| private String | |
| private ArrayList | |
| private String | |
| private Map | |
| private Type |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| builtIdentifierGenerator | back to summary |
|---|---|
| private IdentifierGenerator builtIdentifierGenerator | |
| componentClassName | back to summary |
|---|---|
| private String componentClassName | |
| dynamic | back to summary |
|---|---|
| private boolean dynamic | |
| embedded | back to summary |
|---|---|
| private boolean embedded | |
| isKey | back to summary |
|---|---|
| private boolean isKey | |
| metaAttributes | back to summary |
|---|---|
| private Map<K, V> metaAttributes | |
| nodeName | back to summary |
|---|---|
| private String nodeName | |
| owner | back to summary |
|---|---|
| private PersistentClass owner | |
| parentProperty | back to summary |
|---|---|
| private String parentProperty | |
| properties | back to summary |
|---|---|
| private ArrayList<E> properties | |
| roleName | back to summary |
|---|---|
| private String roleName | |
| tuplizerImpls | back to summary |
|---|---|
| private Map<K, V> tuplizerImpls | |
| type | back to summary |
|---|---|
| private Type type | |
| Component | back to summary |
|---|---|
| public Component(Mappings mappings, PersistentClass owner) throws MappingException | |
| Component | back to summary |
|---|---|
| public Component(Mappings mappings, Component component) throws MappingException | |
| Component | back to summary |
|---|---|
| public Component(Mappings mappings, Join join) throws MappingException | |
| Component | back to summary |
|---|---|
| public Component(Mappings mappings, Collection collection) throws MappingException | |
| accept | back to summary |
|---|---|
| public Object accept(ValueVisitor visitor) Overrides org. Implements org. | |
| addColumn | back to summary |
|---|---|
| public void addColumn(Column column) Overrides org. | |
| addProperty | back to summary |
|---|---|
| public void addProperty(Property p) | |
| addTuplizer | back to summary |
|---|---|
| public void addTuplizer(EntityMode entityMode, String implClassName) | |
| buildIdentifierGenerator | back to summary |
|---|---|
| private IdentifierGenerator buildIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass) throws MappingException | |
| buildType | back to summary |
|---|---|
| private Type buildType() | |
| createIdentifierGenerator | back to summary |
|---|---|
| public IdentifierGenerator createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass) throws MappingException Overrides org. Implements org. | |
| getColumnInsertability | back to summary |
|---|---|
| public boolean[] getColumnInsertability() Overrides org. Implements org. | |
| getColumnIterator | back to summary |
|---|---|
| public Iterator Overrides org. Implements org. | |
| getColumnSpan | back to summary |
|---|---|
| public int getColumnSpan() Overrides org. Implements org. | |
| getColumnUpdateability | back to summary |
|---|---|
| public boolean[] getColumnUpdateability() Overrides org. Implements org. | |
| getComponentClass | back to summary |
|---|---|
| public Class | |
| getComponentClassName | back to summary |
|---|---|
| public String getComponentClassName() | |
| getMetaAttribute | back to summary |
|---|---|
| public MetaAttribute getMetaAttribute(String attributeName) Implements org. | |
| getMetaAttributes | back to summary |
|---|---|
| public Map Implements org. | |
| getNodeName | back to summary |
|---|---|
| public String getNodeName() | |
| getOwner | back to summary |
|---|---|
| public PersistentClass getOwner() | |
| getParentProperty | back to summary |
|---|---|
| public String getParentProperty() | |
| getProperty | back to summary |
|---|---|
| public Property getProperty(String propertyName) throws MappingException | |
| getPropertyIterator | back to summary |
|---|---|
| public Iterator | |
| getPropertySpan | back to summary |
|---|---|
| public int getPropertySpan() | |
| getRoleName | back to summary |
|---|---|
| public String getRoleName() | |
| getTuplizerImplClassName | back to summary |
|---|---|
| public String getTuplizerImplClassName(EntityMode mode) | |
| getTuplizerMap | back to summary |
|---|---|
| public Map | |
| getType | back to summary |
|---|---|
| public Type getType() throws MappingException Overrides org. Implements org. | |
| hasPojoRepresentation | back to summary |
|---|---|
| public boolean hasPojoRepresentation() | |
| injector | back to summary |
|---|---|
| private Setter injector(Property property, Class<T> attributeDeclarer) | |
| isDynamic | back to summary |
|---|---|
| public boolean isDynamic() | |
| isEmbedded | back to summary |
|---|---|
| public boolean isEmbedded() | |
| isKey | back to summary |
|---|---|
| public boolean isKey() | |
| resolveComponentClass | back to summary |
|---|---|
| private Class | |
| setComponentClassName | back to summary |
|---|---|
| public void setComponentClassName(String componentClass) | |
| setDynamic | back to summary |
|---|---|
| public void setDynamic(boolean dynamic) | |
| setEmbedded | back to summary |
|---|---|
| public void setEmbedded(boolean embedded) | |
| setKey | back to summary |
|---|---|
| public void setKey(boolean isKey) | |
| setMetaAttributes | back to summary |
|---|---|
| public void setMetaAttributes(Map<K, V> metas) Implements org. | |
| setNodeName | back to summary |
|---|---|
| public void setNodeName(String nodeName) | |
| setOwner | back to summary |
|---|---|
| public void setOwner(PersistentClass owner) | |
| setParentProperty | back to summary |
|---|---|
| public void setParentProperty(String parentProperty) | |
| setRoleName | back to summary |
|---|---|
| public void setRoleName(String roleName) | |
| setTypeByReflection | back to summary |
|---|---|
| public void setTypeByReflection(String propertyClass, String propertyName) | |
| setTypeUsingReflection | back to summary |
|---|---|
| public void setTypeUsingReflection(String className, String propertyName) throws MappingException Overrides org. Implements org. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Serializable | locateGenerationContext(SessionImplementor
The current session session, Object The entity for which we are generating id incomingObject)Implements org. |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| StandardGenerationContextLocator | back to summary |
|---|---|
| public StandardGenerationContextLocator(String entityName) | |
| locateGenerationContext | back to summary |
|---|---|
| public Serializable locateGenerationContext(SessionImplementor session, Object incomingObject) Implements org. Given the incoming object, determine the context for injecting back its generated id sub-values.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Setter | |
| private final String | |
| private final IdentifierGenerator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | execute(SessionImplementor
The current session session, Object The entity for which we are generating id incomingObject, Object The context into which the generated value can be injected injectionContext)Implements org. |
| public void | registerPersistentGenerators(Map<K, V>
The map of generators. generatorMap)Implements org. PersistentIdentifierGenerator by their
generatorKey.
|
| injector | back to summary |
|---|---|
| private final Setter injector | |
| propertyName | back to summary |
|---|---|
| private final String propertyName | |
| subGenerator | back to summary |
|---|---|
| private final IdentifierGenerator subGenerator | |
| ValueGenerationPlan | back to summary |
|---|---|
| public ValueGenerationPlan(String propertyName, IdentifierGenerator subGenerator, Setter injector) | |
| execute | back to summary |
|---|---|
| public void execute(SessionImplementor session, Object incomingObject, Object injectionContext) Implements org. Doc from org. Execute the value generation.
| |
| registerPersistentGenerators | back to summary |
|---|---|
| public void registerPersistentGenerators(Map<K, V> generatorMap) Implements org. Doc from org. Register any sub generators which implement
| |