- java.lang.Object
-
- org.tentackle.domain.AbstractDomainObject<org.tentackle.ns.pdo.NumberPool,NumberPoolDomainImpl>
-
- org.tentackle.domain.ns.NumberPoolDomainImpl
-
- All Implemented Interfaces:
java.io.Serializable,org.tentackle.ns.pdo.NumberPoolDomain,org.tentackle.pdo.DomainContextProvider,org.tentackle.pdo.DomainDelegate<org.tentackle.ns.pdo.NumberPool>,org.tentackle.pdo.DomainObject<org.tentackle.ns.pdo.NumberPool>,org.tentackle.pdo.PdoHolder<org.tentackle.ns.pdo.NumberPool>,org.tentackle.pdo.ProxyDelegate<org.tentackle.ns.pdo.NumberPool>,org.tentackle.reflect.EffectiveClassProvider<org.tentackle.ns.pdo.NumberPool>,org.tentackle.reflect.Interceptable,org.tentackle.session.SessionProvider
@DomainObjectService(org.tentackle.ns.pdo.NumberPool.class) public class NumberPoolDomainImpl extends AbstractDomainObject<org.tentackle.ns.pdo.NumberPool,NumberPoolDomainImpl> implements org.tentackle.ns.pdo.NumberPoolDomain
NumberPool domain implementation.- Author:
- harald
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NumberPoolDomainImpl()NumberPoolDomainImpl(org.tentackle.ns.pdo.NumberPool pdo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.tentackle.ns.pdo.NumberRangegetCurrentRange()booleanisSlave()java.lang.StringtoString()Gets the string representation of this domain object.-
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
-
-
-
-
Method Detail
-
toString
public java.lang.String 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<org.tentackle.ns.pdo.NumberPool,NumberPoolDomainImpl>- Returns:
- the string representation
-
getCurrentRange
public org.tentackle.ns.pdo.NumberRange getCurrentRange()
- Specified by:
getCurrentRangein interfaceorg.tentackle.ns.pdo.NumberPoolDomain
-
isSlave
public boolean isSlave()
- Specified by:
isSlavein interfaceorg.tentackle.ns.pdo.NumberPoolDomain
-
-