public static class ExtendedMetadata.Locks
extends java.lang.Object
hasSubtypes(int)
is
true, special logic must be implemented to retrieve the proper values.Modifier and Type | Method and Description |
---|---|
void |
fillRelationships(org.hibernate.engine.SessionFactoryImplementor sfi,
java.util.Map<java.lang.String,ExtendedMetadata.Relationship> value)
For each of the fields contained in this
ExtendedMetadata.Locks object, parse
out the type and the field name and store those as the key and value
in the "value" argument. |
java.lang.String[][] |
getLockCandidateChecks(boolean onlyWithGroups) |
IObject[] |
getLockCandidates(IObject o) |
java.lang.Object |
getSubtypeValue(int i,
int j,
java.lang.Object o)
uses the
ClassMetadata for this ExtendedMetadata.Locks tp retrieve the
component value. |
boolean |
hasSubtypes(int i)
returns true if this offset points to a field which is an embedded
component.
|
boolean |
include(int i)
returns true if this offset points to a field which may contain an
IObject instance |
int |
numberOfSubtypes(int i)
returns the number of subtypes for iterating over this secondary array.
|
int |
size()
the total number of fields for this entity.
|
boolean |
subtypeEquals(int i,
int j,
java.lang.String klass)
returns true is the indexed subtype returns the same class type as the
klass argument.
|
java.lang.String |
subtypeName(int i,
int j)
retrieves the full Hibernate path for this component field.
|
int |
total()
as opposed to
size() , the returns the actual number of fields
that will need to be checked. |
public void fillRelationships(org.hibernate.engine.SessionFactoryImplementor sfi, java.util.Map<java.lang.String,ExtendedMetadata.Relationship> value)
ExtendedMetadata.Locks
object, parse
out the type and the field name and store those as the key and value
in the "value" argument.public java.lang.String[][] getLockCandidateChecks(boolean onlyWithGroups)
public int size()
IObject
instances may vary since (1) some fields (like embedded
components) can possibly point to multiple instances. See
total()
for the final size and (2) some fields do not need to be
examined (Integers, e.g.). See include
public int total()
size()
, the returns the actual number of fields
that will need to be checked.public boolean include(int i)
IObject
instancepublic boolean hasSubtypes(int i)
public int numberOfSubtypes(int i)
hasSubtypes(int)
to differentiate the two situations.public java.lang.Object getSubtypeValue(int i, int j, java.lang.Object o)
ClassMetadata
for this ExtendedMetadata.Locks
tp retrieve the
component value.public boolean subtypeEquals(int i, int j, java.lang.String klass)
public java.lang.String subtypeName(int i, int j)
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.