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
Constructors -
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, toGenericStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.tentackle.pdo.DomainContextProvider
getDomainContext, isWithinContext, isWithinContext, on, on, op, opMethods inherited from interface org.tentackle.pdo.DomainDelegate
getPersistenceDelegateMethods inherited from interface org.tentackle.pdo.DomainObject
findByUniqueDomainKey, getPlural, getSingular, getUniqueDomainKey, getUniqueDomainKeyType, isUniqueDomainKeyProvided, setUniqueDomainKey, toGenericStringMethods inherited from interface org.tentackle.pdo.PdoProvider
getPdo, on, onMethods inherited from interface org.tentackle.pdo.ProxyDelegate
meMethods inherited from interface org.tentackle.session.SessionProvider
getSession
-
Constructor Details
-
NumberPoolDomainImpl
-
NumberPoolDomainImpl
public NumberPoolDomainImpl()
-
-
Method Details
-
toString
Description copied from class:AbstractDomainObjectGets 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:
toStringin classAbstractDomainObject<NumberPool,NumberPoolDomainImpl> - Returns:
- the string representation
-
getCurrentRange
Description copied from interface:NumberPoolDomainGet the current range.
This is the first non-empty range with the lowest "begin".- Specified by:
getCurrentRangein interfaceNumberPoolDomain- Returns:
- the current range
-
isSlave
public boolean isSlave()Description copied from interface:NumberPoolDomainReturns whether this pool is a slave pool and gets its ranges from an uplink.- Specified by:
isSlavein interfaceNumberPoolDomain- Returns:
- true if slave
-