public abstract class DomainInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DomainInfo(java.lang.String name)
Construct giving name
|
Modifier and Type | Method and Description |
---|---|
boolean |
canSignatureChangeAfterInit(MboValue value)
Can signature of the object be modified after the MBO value is initialized.
|
boolean |
contains(java.lang.String site,
java.lang.String org)
Check if a site level or org level domain values exists as detail.
|
java.lang.Object |
getDetail(java.lang.Object[] signature) |
abstract MboValueListener |
getDomainObject(MboValue mbv)
Return an object that will actually perform the validation
|
static java.lang.String |
getKey(java.lang.String site,
java.lang.String org) |
java.lang.String |
getName()
Get the name of the domain
|
boolean |
getNeverCache()
Getter method for Never Cache
|
java.lang.Object[] |
getSignature(MboValue value)
Get the signature of the passed in MboValue.
|
static java.util.Vector |
init(java.sql.Connection con,
java.lang.String sqlExpr)
All subclasses need to override this method.
|
boolean |
isDifferentSignature(java.lang.Object[] lastSignature,
java.lang.Object[] newSignature)
Compare the two signatures.
|
boolean |
needToConsiderSiteOrg()
Returns a true if there are any site or org specific values in this domain.
|
void |
setDetail(java.lang.String site,
java.lang.String org,
java.lang.Object detail) |
void |
setNeverCache(boolean neverCacheParam)
Setter method for Never Cache
|
java.lang.String |
toString()
Dump the domain info to a string for debugging purposes
|
public static java.util.Vector init(java.sql.Connection con, java.lang.String sqlExpr)
public java.lang.String getName()
public void setNeverCache(boolean neverCacheParam)
neverCacheParam
- Never Cache valuepublic boolean getNeverCache()
public abstract MboValueListener getDomainObject(MboValue mbv)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getDetail(java.lang.Object[] signature)
public boolean contains(java.lang.String site, java.lang.String org)
site
- org
- public static final java.lang.String getKey(java.lang.String site, java.lang.String org)
public void setDetail(java.lang.String site, java.lang.String org, java.lang.Object detail)
public boolean needToConsiderSiteOrg()
public java.lang.Object[] getSignature(MboValue value) throws MXException, java.rmi.RemoteException
mbo
- MXException
java.rmi.RemoteException
public boolean canSignatureChangeAfterInit(MboValue value)
value
- public boolean isDifferentSignature(java.lang.Object[] lastSignature, java.lang.Object[] newSignature)
lastSignature
- newSignature
-