klass.model.meta.domain.ClassifierInterfaceMappingFinder Maven / Gradle / Ivy
The newest version!
package klass.model.meta.domain;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.*;
import java.io.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.gs.fw.common.mithra.*;
import com.gs.fw.common.mithra.attribute.*;
import com.gs.fw.common.mithra.util.*;
import com.gs.fw.common.mithra.notification.*;
import com.gs.fw.common.mithra.notification.listener.*;
import com.gs.fw.common.mithra.list.cursor.Cursor;
import com.gs.fw.common.mithra.bulkloader.*;
import com.gs.fw.common.mithra.*;
import com.gs.fw.common.mithra.attribute.*;
import com.gs.fw.common.mithra.attribute.calculator.procedure.ObjectProcedure;
import com.gs.fw.common.mithra.behavior.txparticipation.*;
import com.gs.fw.common.mithra.cache.Cache;
import com.gs.fw.common.mithra.cache.bean.*;
import com.gs.fw.common.mithra.extractor.*;
import com.gs.fw.common.mithra.finder.*;
import com.gs.fw.common.mithra.finder.booleanop.*;
import com.gs.fw.common.mithra.finder.integer.*;
import com.gs.fw.common.mithra.finder.longop.*;
import com.gs.fw.common.mithra.finder.orderby.OrderBy;
import com.gs.fw.common.mithra.finder.string.*;
import com.gs.fw.common.mithra.extractor.NormalAndListValueSelector;
import com.gs.fw.common.mithra.list.NulledRelation;
import com.gs.fw.common.mithra.querycache.CachedQuery;
import com.gs.fw.common.mithra.querycache.QueryCache;
import com.gs.fw.common.mithra.portal.*;
import com.gs.fw.common.mithra.remote.*;
import com.gs.fw.common.mithra.transaction.MithraObjectPersister;
import com.gs.fw.common.mithra.util.TimestampPool;
import org.eclipse.collections.impl.map.mutable.UnifiedMap;
import java.io.Serializable;
/**
* This file was automatically generated using Mithra 18.0.0. Please do not modify it.
* Add custom logic to its subclass instead.
*/
public class ClassifierInterfaceMappingFinder
{
private static final String IMPL_CLASS_NAME_WITH_SLASHES = "klass/model/meta/domain/ClassifierInterfaceMapping";
private static final String BUSINESS_CLASS_NAME_WITH_DOTS = "klass.model.meta.domain.ClassifierInterfaceMapping";
private static final FinderMethodMap finderMethodMap;
private static boolean isFullCache;
private static boolean isOffHeap;
private static volatile MithraObjectPortal objectPortal = new UninitializedPortal("klass.model.meta.domain.ClassifierInterfaceMapping");
private static final ClassifierInterfaceMappingSingleFinder finder = new ClassifierInterfaceMappingSingleFinder();
private static ConstantStringSet[] constantStringSets = new ConstantStringSet[0];
private static ConstantIntSet[] constantIntSets = new ConstantIntSet[0];
private static ConstantShortSet[] constantShortSets = new ConstantShortSet[0];
static
{
finderMethodMap = new FinderMethodMap(ClassifierInterfaceMappingFinder.ClassifierInterfaceMappingRelatedFinder.class);
finderMethodMap.addNormalAttributeName("classifierName");
finderMethodMap.addNormalAttributeName("interfaceName");
finderMethodMap.addNormalAttributeName("ordinal");
finderMethodMap.addRelationshipName("superInterface");
finderMethodMap.addRelationshipName("subClassifier");
}
public static Attribute[] allPersistentAttributes()
{
return finder.getPersistentAttributes();
}
public static List allRelatedFinders()
{
return finder.getRelationshipFinders();
}
public static List allDependentRelatedFinders()
{
return finder.getDependentRelationshipFinders();
}
public static ConstantStringSet zGetConstantStringSet(int index)
{
return constantStringSets[index];
}
public static ConstantIntSet zGetConstantIntSet(int index)
{
return constantIntSets[index];
}
public static ConstantShortSet zGetConstantShortSet(int index)
{
return constantShortSets[index];
}
public static Mapper zGetConstantJoin(int index)
{
return getConstantJoinPool()[index];
}
private static Mapper[] constantJoinPool;
private static Mapper[] getConstantJoinPool()
{
if (constantJoinPool == null)
{
Mapper[] result = new Mapper[2];
result[0] = ClassifierInterfaceMappingFinder.interfaceName().constructEqualityMapper(InterfaceFinder.name());
result[1] = InterfaceFinder.name().constructEqualityMapper(ClassifierInterfaceMappingFinder.interfaceName());
constantJoinPool = result;
}
return constantJoinPool;
}
public static SourceAttributeType getSourceAttributeType()
{
return null;
}
public static ClassifierInterfaceMapping findOne(com.gs.fw.finder.Operation operation)
{
return findOne(operation, false);
}
public static ClassifierInterfaceMapping findOneBypassCache(com.gs.fw.finder.Operation operation)
{
return findOne(operation, true);
}
public static ClassifierInterfaceMappingList findMany(com.gs.fw.finder.Operation operation)
{
return (ClassifierInterfaceMappingList) finder.findMany(operation);
}
public static ClassifierInterfaceMappingList findManyBypassCache(com.gs.fw.finder.Operation operation)
{
return (ClassifierInterfaceMappingList) finder.findManyBypassCache(operation);
}
private static ClassifierInterfaceMapping findOne(com.gs.fw.finder.Operation operation, boolean bypassCache)
{
List found = getMithraObjectPortal().find((Operation) operation, bypassCache);
return (ClassifierInterfaceMapping) FinderUtils.findOne(found);
}
public static ClassifierInterfaceMapping findByPrimaryKey(String classifierName, String interfaceName)
{
return finder.findByPrimaryKey(classifierName, interfaceName);
}
private static final RelationshipHashStrategy forPrimaryKey = new PrimaryKeyRhs();
private static final class PrimaryKeyRhs implements RelationshipHashStrategy
{
public boolean equalsForRelationship(Object _srcObject, Object _srcData, Object _targetData, Timestamp _asOfDate0, Timestamp _asOfDate1)
{
I3O3L3 _bean = (I3O3L3) _srcData;
ClassifierInterfaceMappingData _castedTargetData = (ClassifierInterfaceMappingData) _targetData;
if (_bean.getO1AsString().equals(_castedTargetData.getClassifierName()) && _bean.getO2AsString().equals(_castedTargetData.getInterfaceName()))
{
return true;
}
return false;
}
public int computeHashCodeFromRelated(Object _srcObject, Object _srcData)
{
I3O3L3 _bean = (I3O3L3) _srcData;
return HashUtil.combineHashes(HashUtil.hash(_bean.getO1AsString()),HashUtil.hash(_bean.getO2AsString()));
}
public int computeOffHeapHashCodeFromRelated(Object _srcObject, Object _srcData)
{
I3O3L3 _bean = (I3O3L3) _srcData;
return HashUtil.combineHashes(HashUtil.offHeapHash(_bean.getO1AsString()),HashUtil.offHeapHash(_bean.getO2AsString()));
}
}
public static ClassifierInterfaceMapping zFindOneForRelationship(Operation operation)
{
List found = getMithraObjectPortal().findAsCachedQuery(operation, null, false, true, 0).getResult();
return (ClassifierInterfaceMapping) FinderUtils.findOne(found);
}
public static MithraObjectPortal getMithraObjectPortal()
{
return objectPortal.getInitializedPortal();
}
public static void clearQueryCache()
{
objectPortal.clearQueryCache();
}
public static void reloadCache()
{
objectPortal.reloadCache();
}
public static class ClassifierInterfaceMappingRelatedFinder extends AbstractRelatedFinder
{
private List relationshipFinders;
private List dependentRelationshipFinders;
private StringAttribute classifierName;
private StringAttribute interfaceName;
private IntegerAttribute ordinal;
private ClassifierInterfaceMappingSuperInterfaceFinderSubclass superInterface;
private ClassifierInterfaceMappingSubClassifierFinderSubclass subClassifier;
public ClassifierInterfaceMappingRelatedFinder()
{
super();
}
public ClassifierInterfaceMappingRelatedFinder(Mapper mapper)
{
super(mapper);
}
public String getFinderClassName()
{
return "klass.model.meta.domain.ClassifierInterfaceMappingFinder";
}
public RelatedFinder getRelationshipFinderByName(String relationshipName)
{
return ClassifierInterfaceMappingFinder.finderMethodMap.getRelationshipFinderByName(relationshipName, this);
}
public Attribute getAttributeByName(String attributeName)
{
return ClassifierInterfaceMappingFinder.finderMethodMap.getAttributeByName(attributeName, this);
}
public com.gs.fw.common.mithra.extractor.Function getAttributeOrRelationshipSelector(String attributeName)
{
return ClassifierInterfaceMappingFinder.finderMethodMap.getAttributeOrRelationshipSelectorFunction(attributeName, this);
}
public Attribute[] getPersistentAttributes()
{
Attribute[] attributes = new Attribute[3];
attributes[0] = this.classifierName();
attributes[1] = this.interfaceName();
attributes[2] = this.ordinal();
return attributes;
}
public List getRelationshipFinders()
{
if (relationshipFinders == null)
{
List relatedFinders = new ArrayList(2);
relatedFinders.add(this.superInterface());
relatedFinders.add(this.subClassifier());
relationshipFinders = Collections.unmodifiableList(relatedFinders);
}
return relationshipFinders;
}
public List getDependentRelationshipFinders()
{
if (dependentRelationshipFinders == null)
{
List dependentRelatedFinders = new ArrayList(0);
dependentRelationshipFinders = Collections.unmodifiableList(dependentRelatedFinders);
}
return dependentRelationshipFinders;
}
public ClassifierInterfaceMapping findOne(com.gs.fw.finder.Operation operation)
{
return ClassifierInterfaceMappingFinder.findOne(operation, false);
}
public ClassifierInterfaceMapping findOneBypassCache(com.gs.fw.finder.Operation operation)
{
return ClassifierInterfaceMappingFinder.findOne(operation, true);
}
public MithraList extends ClassifierInterfaceMapping> findMany(com.gs.fw.finder.Operation operation)
{
return new ClassifierInterfaceMappingList((Operation) operation);
}
public MithraList extends ClassifierInterfaceMapping> findManyBypassCache(com.gs.fw.finder.Operation operation)
{
ClassifierInterfaceMappingList result = (ClassifierInterfaceMappingList) this.findMany(operation);
result.setBypassCache(true);
return result;
}
public MithraList extends ClassifierInterfaceMapping> constructEmptyList()
{
return new ClassifierInterfaceMappingList();
}
public int getSerialVersionId()
{
return 1048318388;
}
public boolean isPure()
{
return false;
}
public boolean isTemporary()
{
return false;
}
public int getHierarchyDepth()
{
return 0;
}
public StringAttribute classifierName()
{
StringAttribute result = this.classifierName;
if (result == null)
{
result = mapper == null ? SingleColumnStringAttribute.generate("\"CLASSIFIER_NAME\"","","classifierName",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,-1,-1,-1,256,false, false) :
new MappedStringAttribute(ClassifierInterfaceMappingFinder.classifierName(), this.mapper, this.zGetValueSelector());
result.zSetOwningRelationship("subClassifier");
result.zSetOwningReverseRelationship("klass.model.meta.domain", "Classifier", "superInterfaces");
this.classifierName = result;
}
return result;
}
public StringAttribute interfaceName()
{
StringAttribute result = this.interfaceName;
if (result == null)
{
result = mapper == null ? SingleColumnStringAttribute.generate("\"INTERFACE_NAME\"","","interfaceName",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,-1,-1,-1,256,false, false) :
new MappedStringAttribute(ClassifierInterfaceMappingFinder.interfaceName(), this.mapper, this.zGetValueSelector());
result.zSetOwningRelationship("superInterface");
result.zSetOwningReverseRelationship("klass.model.meta.domain", "Interface", "subClassifiers");
this.interfaceName = result;
}
return result;
}
public IntegerAttribute ordinal()
{
IntegerAttribute result = this.ordinal;
if (result == null)
{
result = mapper == null ? SingleColumnIntegerAttribute.generate("\"ORDINAL\"","","ordinal",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,false,-1,-1,-1,false, false) :
new MappedIntegerAttribute(ClassifierInterfaceMappingFinder.ordinal(), this.mapper, this.zGetValueSelector());
this.ordinal = result;
}
return result;
}
public InterfaceFinder.InterfaceSingleFinderForRelatedClasses superInterface()
{
ClassifierInterfaceMappingSuperInterfaceFinderSubclass result = this.superInterface;
if (result == null)
{
Mapper newMapper = combineWithMapperIfExists(ClassifierInterfaceMappingFinder.zGetClassifierInterfaceMappingSuperInterfaceReverseMapper());
newMapper.setToMany(false);
result = new ClassifierInterfaceMappingSuperInterfaceFinderSubclass(newMapper , this.zGetValueSelector() );
this.superInterface = result;
}
return result;
}
public ClassifierFinder.ClassifierSingleFinderForRelatedClasses subClassifier()
{
ClassifierInterfaceMappingSubClassifierFinderSubclass result = this.subClassifier;
if (result == null)
{
Mapper newMapper = combineWithMapperIfExists(ClassifierFinder.zGetClassifierSuperInterfacesMapper());
newMapper.setToMany(false);
result = new ClassifierInterfaceMappingSubClassifierFinderSubclass(newMapper , this.zGetValueSelector() );
this.subClassifier = result;
}
return result;
}
public Attribute getSourceAttribute()
{
return null;
}
private Mapper combineWithMapperIfExists(Mapper newMapper)
{
if (this.mapper != null)
{
return new LinkedMapper(this.mapper, newMapper);
}
return newMapper;
}
public Attribute[] getPrimaryKeyAttributes()
{
return ClassifierInterfaceMappingFinder.getPrimaryKeyAttributes();
}
public VersionAttribute getVersionAttribute()
{
return null;
}
public MithraObjectPortal getMithraObjectPortal()
{
return ClassifierInterfaceMappingFinder.getMithraObjectPortal();
}
}
public static class ClassifierInterfaceMappingCollectionFinder extends ClassifierInterfaceMappingRelatedFinder
{
public ClassifierInterfaceMappingCollectionFinder(Mapper mapper)
{
super(mapper);
}
}
public static abstract class ClassifierInterfaceMappingCollectionFinderForRelatedClasses
extends ClassifierInterfaceMappingCollectionFinder
implements DeepRelationshipAttribute
{
public ClassifierInterfaceMappingCollectionFinderForRelatedClasses(Mapper mapper)
{
super(mapper);
}
protected NormalAndListValueSelector zGetValueSelector()
{
return this;
}
}
public static class ClassifierInterfaceMappingSingleFinder extends ClassifierInterfaceMappingRelatedFinder
implements ToOneFinder
{
public ClassifierInterfaceMappingSingleFinder(Mapper mapper)
{
super(mapper);
}
public ClassifierInterfaceMappingSingleFinder()
{
super(null);
}
public Operation eq(ClassifierInterfaceMapping other)
{
return this.classifierName().eq(other.getClassifierName())
.and(this.interfaceName().eq(other.getInterfaceName()))
;
}
// this implementation uses private API. Do NOT copy to application code. Application code must use normal operations for lookups.
public ClassifierInterfaceMapping findByPrimaryKey(String classifierName, String interfaceName)
{
ClassifierInterfaceMapping _result = null;
Operation _op = null;
Object _related = null;
if (classifierName != null && interfaceName != null)
{
I3O3L3 _bean = I3O3L3.POOL.getOrConstruct();
_bean.setO1(classifierName);
_bean.setO2(interfaceName);
MithraObjectPortal _portal = this.getMithraObjectPortal();
_related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null);
_bean.release();
}
if (!(_related instanceof NulledRelation)) _result = (ClassifierInterfaceMapping) _related;
if (_related == null)
{
_op = this.classifierName().eq(classifierName).and(this.interfaceName().eq(interfaceName));
}
if (_op != null)
{
_result = this.findOne(_op);
}
return _result;
}
}
public static abstract class ClassifierInterfaceMappingSingleFinderForRelatedClasses extends ClassifierInterfaceMappingSingleFinder implements DeepRelationshipAttribute
{
public ClassifierInterfaceMappingSingleFinderForRelatedClasses(Mapper mapper)
{
super(mapper);
}
protected NormalAndListValueSelector zGetValueSelector()
{
return this;
}
}
private static Mapper superInterfaceReverseMapper = null;
public static Mapper zGetClassifierInterfaceMappingSuperInterfaceReverseMapper()
{
if (superInterfaceReverseMapper == null)
{
superInterfaceReverseMapper = zConstructClassifierInterfaceMappingSuperInterfaceReverseMapper();
}
return superInterfaceReverseMapper;
}
private static Mapper superInterfaceMapper = null;
public static Mapper zGetClassifierInterfaceMappingSuperInterfaceMapper()
{
if (superInterfaceMapper == null)
{
superInterfaceMapper = zConstructClassifierInterfaceMappingSuperInterfaceMapper();
}
return superInterfaceMapper;
}
private static Mapper superInterfacePureReverseMapper = null;
public static Mapper zGetClassifierInterfaceMappingSuperInterfacePureReverseMapper()
{
if (superInterfacePureReverseMapper == null)
{
superInterfacePureReverseMapper = zConstructClassifierInterfaceMappingSuperInterfacePureReverseMapper();
}
return superInterfacePureReverseMapper;
}
private static Mapper zConstructClassifierInterfaceMappingSuperInterfacePureReverseMapper()
{
Mapper superInterfaceMapper = ClassifierInterfaceMappingFinder.zGetConstantJoin(0);
superInterfaceMapper.setName("superInterface");
return superInterfaceMapper;
}
private static Mapper zConstructClassifierInterfaceMappingSuperInterfaceReverseMapper()
{
Mapper superInterfaceMapper = ClassifierInterfaceMappingFinder.zGetConstantJoin(0);
superInterfaceMapper.setName("superInterface");
return superInterfaceMapper;
}
private static Mapper zConstructClassifierInterfaceMappingSuperInterfaceMapper()
{
Mapper superInterfaceMapper = ClassifierInterfaceMappingFinder.zGetConstantJoin(1);
superInterfaceMapper.setName("subClassifiers");
return superInterfaceMapper;
}
/** maps to \"CLASSIFIER_INTERFACE_MAPPING\".\"CLASSIFIER_NAME\" **/
public static StringAttribute classifierName()
{
return finder.classifierName();
}
/** maps to \"CLASSIFIER_INTERFACE_MAPPING\".\"INTERFACE_NAME\" **/
public static StringAttribute interfaceName()
{
return finder.interfaceName();
}
/** maps to \"CLASSIFIER_INTERFACE_MAPPING\".\"ORDINAL\" **/
public static IntegerAttribute ordinal()
{
return finder.ordinal();
}
public static InterfaceFinder.InterfaceSingleFinderForRelatedClasses superInterface()
{
return finder.superInterface();
}
public static class ClassifierInterfaceMappingSuperInterfaceFinderSubclass extends InterfaceFinder.InterfaceSingleFinderForRelatedClasses
{
public ClassifierInterfaceMappingSuperInterfaceFinderSubclass(Mapper mapper, NormalAndListValueSelector parentSelector )
{
super(mapper);
this._parentSelector = (AbstractRelatedFinder) parentSelector;
this._orderBy = null;
this._type = SIMPLE_TO_ONE;
this._name = "superInterface";
}
public DeepRelationshipAttribute copy()
{
return new ClassifierInterfaceMappingSuperInterfaceFinderSubclass(zGetMapper(), (NormalAndListValueSelector) this._parentSelector
);
}
protected Interface plainValueOf(ClassifierInterfaceMapping _obj)
{
return _obj.getSuperInterface();
}
protected InterfaceList plainListValueOf(Object _obj)
{
return ((ClassifierInterfaceMappingList)_obj).getSuperInterfaces();
}
}
public static ClassifierFinder.ClassifierSingleFinderForRelatedClasses subClassifier()
{
return finder.subClassifier();
}
public static class ClassifierInterfaceMappingSubClassifierFinderSubclass extends ClassifierFinder.ClassifierSingleFinderForRelatedClasses
{
public ClassifierInterfaceMappingSubClassifierFinderSubclass(Mapper mapper, NormalAndListValueSelector parentSelector )
{
super(mapper);
this._parentSelector = (AbstractRelatedFinder) parentSelector;
this._orderBy = null;
this._type = SIMPLE_TO_ONE;
this._name = "subClassifier";
}
public DeepRelationshipAttribute copy()
{
return new ClassifierInterfaceMappingSubClassifierFinderSubclass(zGetMapper(), (NormalAndListValueSelector) this._parentSelector
);
}
protected Classifier plainValueOf(ClassifierInterfaceMapping _obj)
{
return _obj.getSubClassifier();
}
protected ClassifierList plainListValueOf(Object _obj)
{
return ((ClassifierInterfaceMappingList)_obj).getSubClassifiers();
}
}
public static Operation eq(ClassifierInterfaceMapping other)
{
return finder.eq(other);
}
public static Operation all()
{
return new All(classifierName());
}
public static ClassifierInterfaceMappingSingleFinder getFinderInstance()
{
return finder;
}
public static Attribute[] getPrimaryKeyAttributes()
{
return new Attribute[]
{
classifierName()
, interfaceName()
}
;
}
public static Attribute[] getImmutableAttributes()
{
return new Attribute[]
{
classifierName()
, classifierName()
, interfaceName()
}
;
}
public static AsOfAttribute[] getAsOfAttributes()
{
return null;
}
protected static void initializeIndicies(Cache cache)
{
cache.addIndex("0 Index", new Attribute[]
{
classifierName()
}
);
cache.addIndex("1 Index", new Attribute[]
{
interfaceName()
}
);
}
protected static void initializePortal(MithraObjectDeserializer objectFactory, Cache cache,
MithraConfigurationManager.Config config)
{
initializeIndicies(cache);
isFullCache = cache.isFullCache();
isOffHeap = cache.isOffHeap();
MithraObjectPortal portal;
if (config.isParticipatingInTx())
{
portal = new MithraTransactionalPortal(objectFactory, cache, getFinderInstance(),
config.getRelationshipCacheSize(), config.getMinQueriesToKeep(), null,
null, null, 0,
(MithraObjectPersister) objectFactory);
}
else
{
portal = new MithraReadOnlyPortal(objectFactory, cache, getFinderInstance(),
config.getRelationshipCacheSize(), config.getMinQueriesToKeep(), null,
null, null, 0,
(MithraObjectPersister) objectFactory);
}
portal.setParentFinders(new RelatedFinder[]
{
ClassifierFinder.getFinderInstance(),InterfaceFinder.getFinderInstance(),
}
);
config.initializePortal(portal);
objectPortal.destroy();
objectPortal = portal;
}
protected static void initializeClientPortal(MithraObjectDeserializer objectFactory, Cache cache,
MithraConfigurationManager.Config config)
{
initializeIndicies(cache);
isFullCache = cache.isFullCache();
isOffHeap = cache.isOffHeap();
MithraObjectPortal portal;
if (config.isParticipatingInTx())
{
portal = new MithraTransactionalPortal(objectFactory, cache, getFinderInstance(),
config.getRelationshipCacheSize(), config.getMinQueriesToKeep(),
null, null,
null, 0,
new RemoteMithraObjectPersister(config.getRemoteMithraService(), getFinderInstance(), false));
}
else
{
portal = new MithraReadOnlyPortal(objectFactory, cache, getFinderInstance(),
config.getRelationshipCacheSize(), config.getMinQueriesToKeep(),
null, null,
null, 0,
new RemoteMithraObjectPersister(config.getRemoteMithraService(), getFinderInstance(), false));
}
portal.setParentFinders(new RelatedFinder[]
{
ClassifierFinder.getFinderInstance(),InterfaceFinder.getFinderInstance(),
}
);
config.initializePortal(portal);
objectPortal.destroy();
objectPortal = portal;
}
public static boolean isFullCache()
{
return isFullCache;
}
public static boolean isOffHeap()
{
return isOffHeap;
}
public static Attribute getAttributeByName(String attributeName)
{
return finder.getAttributeByName(attributeName);
}
public static com.gs.fw.common.mithra.extractor.Function getAttributeOrRelationshipSelector(String attributeName)
{
return finder.getAttributeOrRelationshipSelector(attributeName);
}
public static RelatedFinder getRelatedFinderByName(String relationshipName)
{
return finder.getRelationshipFinderByName(relationshipName);
}
public static DoubleAttribute[] zGetDoubleAttributes()
{
DoubleAttribute[] result = new DoubleAttribute[0];
return result;
}
public static BigDecimalAttribute[] zGetBigDecimalAttributes()
{
BigDecimalAttribute[] result = new BigDecimalAttribute[0];
return result;
}
public static void zResetPortal()
{
objectPortal.destroy();
objectPortal = new UninitializedPortal("klass.model.meta.domain.ClassifierInterfaceMapping");
isFullCache = false;
isOffHeap = false;
}
public static void setTransactionModeFullTransactionParticipation(MithraTransaction tx)
{
tx.setTxParticipationMode(objectPortal, FullTransactionalParticipationMode.getInstance());
}
public static void setTransactionModeReadCacheUpdateCausesRefreshAndLock(MithraTransaction tx)
{
tx.setTxParticipationMode(objectPortal, ReadCacheUpdateCausesRefreshAndLockTxParticipationMode.getInstance());
}
public static void registerForNotification(MithraApplicationClassLevelNotificationListener listener)
{
getMithraObjectPortal().registerForApplicationClassLevelNotification(listener);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy