java.lang.Object
org.tentackle.domain.AbstractDomainObject<NumberPool,NumberPoolDomainImpl>
org.tentackle.domain.ns.NumberPoolDomainImpl
- All Implemented Interfaces:
Serializable
,NumberPoolDomain
,DomainContextProvider
,DomainDelegate<NumberPool>
,DomainObject<NumberPool>
,PdoProvider<NumberPool>
,ProxyDelegate<NumberPool>
,EffectiveClassProvider<NumberPool>
,Interceptable
,SessionProvider
@DomainObjectService(NumberPool.class)
public class NumberPoolDomainImpl
extends AbstractDomainObject<NumberPool,NumberPoolDomainImpl>
implements NumberPoolDomain
NumberPool domain implementation.
- Author:
- harald
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.tentackle.domain.AbstractDomainObject
assertRootEntity, findByUniqueDomainKey, getDomainContext, getEffectiveClass, getEffectiveSuperClasses, getPdo, getPersistenceDelegate, getPlural, getSession, getSingular, getUniqueDomainKey, getUniqueDomainKeyType, isUniqueDomainKeyProvided, me, setPdo, setUniqueDomainKey, toGenericString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.tentackle.pdo.DomainContextProvider
getDomainContext, isWithinContext, isWithinContext, on, on, op, op
Methods inherited from interface org.tentackle.pdo.DomainDelegate
getPersistenceDelegate
Methods inherited from interface org.tentackle.pdo.DomainObject
findByUniqueDomainKey, getPlural, getSingular, getUniqueDomainKey, getUniqueDomainKeyType, isUniqueDomainKeyProvided, setUniqueDomainKey, toGenericString
Methods inherited from interface org.tentackle.pdo.PdoProvider
getPdo, on, on
Methods inherited from interface org.tentackle.pdo.ProxyDelegate
me
Methods inherited from interface org.tentackle.session.SessionProvider
getSession
-
Constructor Details
-
NumberPoolDomainImpl
-
NumberPoolDomainImpl
public NumberPoolDomainImpl()
-
-
Method Details
-
toString
Description copied from class:AbstractDomainObject
Gets the string representation of this domain object.The default implementation returns the domain key, if this is a root entity. If a component, its single-name will be returned. If evaluating the domain key failed, the generic string is returned along with the exception in parentheses. This is due to the fact that toString should never throw an exception as it is used for logging and debugging.
- Overrides:
toString
in classAbstractDomainObject<NumberPool,
NumberPoolDomainImpl> - Returns:
- the string representation
-
getCurrentRange
Description copied from interface:NumberPoolDomain
Get the current range.
This is the first non-empty range with the lowest "begin".- Specified by:
getCurrentRange
in interfaceNumberPoolDomain
- Returns:
- the current range
-
isSlave
public boolean isSlave()Description copied from interface:NumberPoolDomain
Returns whether this pool is a slave pool and gets its ranges from an uplink.- Specified by:
isSlave
in interfaceNumberPoolDomain
- Returns:
- true if slave
-