klass.model.meta.domain.UrlParameterFinder 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 UrlParameterFinder
{
private static final String IMPL_CLASS_NAME_WITH_SLASHES = "klass/model/meta/domain/UrlParameter";
private static final String BUSINESS_CLASS_NAME_WITH_DOTS = "klass.model.meta.domain.UrlParameter";
private static final FinderMethodMap finderMethodMap;
private static boolean isFullCache;
private static boolean isOffHeap;
private static volatile MithraObjectPortal objectPortal = new UninitializedPortal("klass.model.meta.domain.UrlParameter");
private static final UrlParameterSingleFinder finder = new UrlParameterSingleFinder();
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(UrlParameterFinder.UrlParameterRelatedFinder.class);
finderMethodMap.addNormalAttributeName("serviceGroupName");
finderMethodMap.addNormalAttributeName("urlString");
finderMethodMap.addNormalAttributeName("parameterId");
finderMethodMap.addNormalAttributeName("type");
finderMethodMap.addNormalAttributeName("ordinal");
finderMethodMap.addRelationshipName("parameter");
finderMethodMap.addRelationshipName("url");
}
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] = UrlParameterFinder.parameterId().constructEqualityMapper(ParameterFinder.id());
result[1] = ParameterFinder.id().constructEqualityMapper(UrlParameterFinder.parameterId());
constantJoinPool = result;
}
return constantJoinPool;
}
public static SourceAttributeType getSourceAttributeType()
{
return null;
}
public static UrlParameter findOne(com.gs.fw.finder.Operation operation)
{
return findOne(operation, false);
}
public static UrlParameter findOneBypassCache(com.gs.fw.finder.Operation operation)
{
return findOne(operation, true);
}
public static UrlParameterList findMany(com.gs.fw.finder.Operation operation)
{
return (UrlParameterList) finder.findMany(operation);
}
public static UrlParameterList findManyBypassCache(com.gs.fw.finder.Operation operation)
{
return (UrlParameterList) finder.findManyBypassCache(operation);
}
private static UrlParameter findOne(com.gs.fw.finder.Operation operation, boolean bypassCache)
{
List found = getMithraObjectPortal().find((Operation) operation, bypassCache);
return (UrlParameter) FinderUtils.findOne(found);
}
public static UrlParameter findByPrimaryKey(String serviceGroupName, String urlString, long parameterId)
{
return finder.findByPrimaryKey(serviceGroupName, urlString, parameterId);
}
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;
UrlParameterData _castedTargetData = (UrlParameterData) _targetData;
if (_bean.getO1AsString().equals(_castedTargetData.getServiceGroupName()) && _bean.getO2AsString().equals(_castedTargetData.getUrlString()) && _bean.getL1AsLong() == _castedTargetData.getParameterId())
{
return true;
}
return false;
}
public int computeHashCodeFromRelated(Object _srcObject, Object _srcData)
{
I3O3L3 _bean = (I3O3L3) _srcData;
return HashUtil.combineHashes(HashUtil.combineHashes(HashUtil.hash(_bean.getO1AsString()),HashUtil.hash(_bean.getO2AsString())),HashUtil.hash(_bean.getL1AsLong()));
}
public int computeOffHeapHashCodeFromRelated(Object _srcObject, Object _srcData)
{
I3O3L3 _bean = (I3O3L3) _srcData;
return HashUtil.combineHashes(HashUtil.combineHashes(HashUtil.offHeapHash(_bean.getO1AsString()),HashUtil.offHeapHash(_bean.getO2AsString())),HashUtil.hash(_bean.getL1AsLong()));
}
}
public static UrlParameter zFindOneForRelationship(Operation operation)
{
List found = getMithraObjectPortal().findAsCachedQuery(operation, null, false, true, 0).getResult();
return (UrlParameter) 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 UrlParameterRelatedFinder extends AbstractRelatedFinder
implements ElementFinder
{
private List relationshipFinders;
private List dependentRelationshipFinders;
private StringAttribute serviceGroupName;
private StringAttribute urlString;
private LongAttribute parameterId;
private StringAttribute type;
private IntegerAttribute ordinal;
private UrlParameterParameterFinderSubclass parameter;
private UrlParameterUrlFinderSubclass url;
public UrlParameterRelatedFinder()
{
super();
}
public UrlParameterRelatedFinder(Mapper mapper)
{
super(mapper);
}
public String getFinderClassName()
{
return "klass.model.meta.domain.UrlParameterFinder";
}
public RelatedFinder getRelationshipFinderByName(String relationshipName)
{
return UrlParameterFinder.finderMethodMap.getRelationshipFinderByName(relationshipName, this);
}
public Attribute getAttributeByName(String attributeName)
{
return UrlParameterFinder.finderMethodMap.getAttributeByName(attributeName, this);
}
public com.gs.fw.common.mithra.extractor.Function getAttributeOrRelationshipSelector(String attributeName)
{
return UrlParameterFinder.finderMethodMap.getAttributeOrRelationshipSelectorFunction(attributeName, this);
}
public Attribute[] getPersistentAttributes()
{
Attribute[] attributes = new Attribute[5];
attributes[0] = this.serviceGroupName();
attributes[1] = this.urlString();
attributes[2] = this.parameterId();
attributes[3] = this.type();
attributes[4] = this.ordinal();
return attributes;
}
public List getRelationshipFinders()
{
if (relationshipFinders == null)
{
List relatedFinders = new ArrayList(2);
relatedFinders.add(this.parameter());
relatedFinders.add(this.url());
relationshipFinders = Collections.unmodifiableList(relatedFinders);
}
return relationshipFinders;
}
public List getDependentRelationshipFinders()
{
if (dependentRelationshipFinders == null)
{
List dependentRelatedFinders = new ArrayList(0);
dependentRelationshipFinders = Collections.unmodifiableList(dependentRelatedFinders);
}
return dependentRelationshipFinders;
}
public UrlParameter findOne(com.gs.fw.finder.Operation operation)
{
return UrlParameterFinder.findOne(operation, false);
}
public UrlParameter findOneBypassCache(com.gs.fw.finder.Operation operation)
{
return UrlParameterFinder.findOne(operation, true);
}
public MithraList extends UrlParameter> findMany(com.gs.fw.finder.Operation operation)
{
return new UrlParameterList((Operation) operation);
}
public MithraList extends UrlParameter> findManyBypassCache(com.gs.fw.finder.Operation operation)
{
UrlParameterList result = (UrlParameterList) this.findMany(operation);
result.setBypassCache(true);
return result;
}
public MithraList extends UrlParameter> constructEmptyList()
{
return new UrlParameterList();
}
public int getSerialVersionId()
{
return 1821385038;
}
public boolean isPure()
{
return false;
}
public boolean isTemporary()
{
return false;
}
public int getHierarchyDepth()
{
return 0;
}
public StringAttribute serviceGroupName()
{
StringAttribute result = this.serviceGroupName;
if (result == null)
{
result = mapper == null ? SingleColumnStringAttribute.generate("\"SERVICE_GROUP_NAME\"","","serviceGroupName",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,-1,-1,-1,256,false, false) :
new MappedStringAttribute(UrlParameterFinder.serviceGroupName(), this.mapper, this.zGetValueSelector());
result.zSetOwningRelationship("url");
result.zSetOwningReverseRelationship("klass.model.meta.domain", "Url", "parameters");
this.serviceGroupName = result;
}
return result;
}
public StringAttribute urlString()
{
StringAttribute result = this.urlString;
if (result == null)
{
result = mapper == null ? SingleColumnStringAttribute.generate("\"URL_STRING\"","","urlString",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,-1,-1,-1,8192,false, false) :
new MappedStringAttribute(UrlParameterFinder.urlString(), this.mapper, this.zGetValueSelector());
result.zSetOwningRelationship("url");
result.zSetOwningReverseRelationship("klass.model.meta.domain", "Url", "parameters");
this.urlString = result;
}
return result;
}
public LongAttribute parameterId()
{
LongAttribute result = this.parameterId;
if (result == null)
{
result = mapper == null ? SingleColumnLongAttribute.generate("\"PARAMETER_ID\"","","parameterId",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,false,-1,-1,-1,false, false) :
new MappedLongAttribute(UrlParameterFinder.parameterId(), this.mapper, this.zGetValueSelector());
this.parameterId = result;
}
return result;
}
public StringAttribute type()
{
StringAttribute result = this.type;
if (result == null)
{
result = mapper == null ? SingleColumnStringAttribute.generate("\"TYPE\"","","type",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,-1,-1,-1,Integer.MAX_VALUE,false, false) :
new MappedStringAttribute(UrlParameterFinder.type(), this.mapper, this.zGetValueSelector());
this.type = 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(UrlParameterFinder.ordinal(), this.mapper, this.zGetValueSelector());
this.ordinal = result;
}
return result;
}
public ParameterFinder.ParameterSingleFinderForRelatedClasses parameter()
{
UrlParameterParameterFinderSubclass result = this.parameter;
if (result == null)
{
Mapper newMapper = combineWithMapperIfExists(UrlParameterFinder.zGetUrlParameterParameterReverseMapper());
newMapper.setToMany(false);
result = new UrlParameterParameterFinderSubclass(newMapper , this.zGetValueSelector() );
this.parameter = result;
}
return result;
}
public UrlFinder.UrlSingleFinderForRelatedClasses url()
{
UrlParameterUrlFinderSubclass result = this.url;
if (result == null)
{
Mapper newMapper = combineWithMapperIfExists(UrlFinder.zGetUrlParametersMapper());
newMapper.setToMany(false);
result = new UrlParameterUrlFinderSubclass(newMapper , this.zGetValueSelector() );
this.url = 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 UrlParameterFinder.getPrimaryKeyAttributes();
}
public VersionAttribute getVersionAttribute()
{
return null;
}
public MithraObjectPortal getMithraObjectPortal()
{
return UrlParameterFinder.getMithraObjectPortal();
}
}
public static class UrlParameterCollectionFinder extends UrlParameterRelatedFinder
{
public UrlParameterCollectionFinder(Mapper mapper)
{
super(mapper);
}
}
public static abstract class UrlParameterCollectionFinderForRelatedClasses
extends UrlParameterCollectionFinder
implements DeepRelationshipAttribute
{
public UrlParameterCollectionFinderForRelatedClasses(Mapper mapper)
{
super(mapper);
}
protected NormalAndListValueSelector zGetValueSelector()
{
return this;
}
}
public static class UrlParameterSingleFinder extends UrlParameterRelatedFinder
implements ToOneFinder
{
public UrlParameterSingleFinder(Mapper mapper)
{
super(mapper);
}
public UrlParameterSingleFinder()
{
super(null);
}
public Operation eq(UrlParameter other)
{
return this.serviceGroupName().eq(other.getServiceGroupName())
.and(this.urlString().eq(other.getUrlString()))
.and(this.parameterId().eq(other.getParameterId()))
;
}
// this implementation uses private API. Do NOT copy to application code. Application code must use normal operations for lookups.
public UrlParameter findByPrimaryKey(String serviceGroupName, String urlString, long parameterId)
{
UrlParameter _result = null;
Operation _op = null;
Object _related = null;
if (serviceGroupName != null && urlString != null)
{
I3O3L3 _bean = I3O3L3.POOL.getOrConstruct();
_bean.setO1(serviceGroupName);
_bean.setO2(urlString);
_bean.setL1AsLong(parameterId);
MithraObjectPortal _portal = this.getMithraObjectPortal();
_related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null);
_bean.release();
}
if (!(_related instanceof NulledRelation)) _result = (UrlParameter) _related;
if (_related == null)
{
_op = this.serviceGroupName().eq(serviceGroupName).and(this.urlString().eq(urlString)).and(this.parameterId().eq(parameterId));
}
if (_op != null)
{
_result = this.findOne(_op);
}
return _result;
}
}
public static abstract class UrlParameterSingleFinderForRelatedClasses extends UrlParameterSingleFinder implements DeepRelationshipAttribute
{
public UrlParameterSingleFinderForRelatedClasses(Mapper mapper)
{
super(mapper);
}
protected NormalAndListValueSelector zGetValueSelector()
{
return this;
}
}
private static Mapper parameterReverseMapper = null;
public static Mapper zGetUrlParameterParameterReverseMapper()
{
if (parameterReverseMapper == null)
{
parameterReverseMapper = zConstructUrlParameterParameterReverseMapper();
}
return parameterReverseMapper;
}
private static Mapper parameterMapper = null;
public static Mapper zGetUrlParameterParameterMapper()
{
if (parameterMapper == null)
{
parameterMapper = zConstructUrlParameterParameterMapper();
}
return parameterMapper;
}
private static Mapper parameterPureReverseMapper = null;
public static Mapper zGetUrlParameterParameterPureReverseMapper()
{
if (parameterPureReverseMapper == null)
{
parameterPureReverseMapper = zConstructUrlParameterParameterPureReverseMapper();
}
return parameterPureReverseMapper;
}
private static Mapper zConstructUrlParameterParameterPureReverseMapper()
{
Mapper parameterMapper = UrlParameterFinder.zGetConstantJoin(0);
parameterMapper.setName("parameter");
return parameterMapper;
}
private static Mapper zConstructUrlParameterParameterReverseMapper()
{
Mapper parameterMapper = UrlParameterFinder.zGetConstantJoin(0);
parameterMapper.setName("parameter");
return parameterMapper;
}
private static Mapper zConstructUrlParameterParameterMapper()
{
Mapper parameterMapper = UrlParameterFinder.zGetConstantJoin(1);
parameterMapper.setName("urlParameter");
return parameterMapper;
}
/** maps to \"URL_PARAMETER\".\"SERVICE_GROUP_NAME\" **/
public static StringAttribute serviceGroupName()
{
return finder.serviceGroupName();
}
/** maps to \"URL_PARAMETER\".\"URL_STRING\" **/
public static StringAttribute urlString()
{
return finder.urlString();
}
/** maps to \"URL_PARAMETER\".\"PARAMETER_ID\" **/
public static LongAttribute parameterId()
{
return finder.parameterId();
}
/** maps to \"URL_PARAMETER\".\"TYPE\" **/
public static StringAttribute type()
{
return finder.type();
}
/** maps to \"URL_PARAMETER\".\"ORDINAL\" **/
public static IntegerAttribute ordinal()
{
return finder.ordinal();
}
public static ParameterFinder.ParameterSingleFinderForRelatedClasses parameter()
{
return finder.parameter();
}
public static class UrlParameterParameterFinderSubclass extends ParameterFinder.ParameterSingleFinderForRelatedClasses
{
public UrlParameterParameterFinderSubclass(Mapper mapper, NormalAndListValueSelector parentSelector )
{
super(mapper);
this._parentSelector = (AbstractRelatedFinder) parentSelector;
this._orderBy = null;
this._type = SIMPLE_TO_ONE;
this._name = "parameter";
}
public DeepRelationshipAttribute copy()
{
return new UrlParameterParameterFinderSubclass(zGetMapper(), (NormalAndListValueSelector) this._parentSelector
);
}
protected Parameter plainValueOf(UrlParameter _obj)
{
return _obj.getParameter();
}
protected ParameterList plainListValueOf(Object _obj)
{
return ((UrlParameterList)_obj).getParameters();
}
}
public static UrlFinder.UrlSingleFinderForRelatedClasses url()
{
return finder.url();
}
public static class UrlParameterUrlFinderSubclass extends UrlFinder.UrlSingleFinderForRelatedClasses
{
public UrlParameterUrlFinderSubclass(Mapper mapper, NormalAndListValueSelector parentSelector )
{
super(mapper);
this._parentSelector = (AbstractRelatedFinder) parentSelector;
this._orderBy = null;
this._type = SIMPLE_TO_ONE;
this._name = "url";
this.zSetRelationshipMultiExtractor(RelationshipMultiExtractor.withLeftAttributes(
UrlFinder.serviceGroupName(),
UrlFinder.url()).withExtractors(
UrlParameterFinder.serviceGroupName(),
UrlParameterFinder.urlString()));
}
public DeepRelationshipAttribute copy()
{
return new UrlParameterUrlFinderSubclass(zGetMapper(), (NormalAndListValueSelector) this._parentSelector
);
}
protected Url plainValueOf(UrlParameter _obj)
{
return _obj.getUrl();
}
protected UrlList plainListValueOf(Object _obj)
{
return ((UrlParameterList)_obj).getUrls();
}
}
public static Operation eq(UrlParameter other)
{
return finder.eq(other);
}
public static Operation all()
{
return new All(serviceGroupName());
}
public static UrlParameterSingleFinder getFinderInstance()
{
return finder;
}
public static Attribute[] getPrimaryKeyAttributes()
{
return new Attribute[]
{
serviceGroupName()
, urlString()
, parameterId()
}
;
}
public static Attribute[] getImmutableAttributes()
{
return new Attribute[]
{
serviceGroupName()
, serviceGroupName()
, urlString()
, parameterId()
}
;
}
public static AsOfAttribute[] getAsOfAttributes()
{
return null;
}
protected static void initializeIndicies(Cache cache)
{
cache.addIndex("0 Index", new Attribute[]
{
serviceGroupName()
, urlString()
}
);
cache.addIndex("1 Index", new Attribute[]
{
parameterId()
}
);
}
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[]
{
UrlFinder.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[]
{
UrlFinder.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.UrlParameter");
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