|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.dse.tools.workbench.base.DomainValidator
This class is used to propose and validate allowed values for a domain
| Constructor Summary | |
DomainValidator()
This constructor creates a DomainValidator object |
|
| Method Summary | |
static java.lang.String[] |
getAllowedValues(Repository repository,
java.lang.String domainName)
Returns the list of allowed values for a domain |
static java.lang.String[] |
getAllowedValues(TableRow domain)
Returns the list of allowed values for a domain row |
static TableRow |
getDomainByName(Repository repository,
java.lang.String domainName)
Returns the row representing a domain in a repository |
static TableRow |
getRowByValue(TableRow domain,
java.lang.String value)
Returns the row representing a value in a domain |
static TableRow[] |
getRows(Repository repository,
java.lang.String domainName)
Returns the rows representing the allowed values for a domain in a repository |
static TableRow[] |
getRows(TableRow domain)
Returns the rows representing the allowed values for a domain |
static boolean |
isAllowed(Repository repository,
java.lang.String domainName,
java.lang.String value)
Checks if a value is allowed for a domain in a repository |
static boolean |
isAllowed(TableRow domain,
java.lang.String value)
Checks if a value is allowed for a domain |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DomainValidator()
| Method Detail |
public static java.lang.String[] getAllowedValues(Repository repository,
java.lang.String domainName)
throws WorkbenchException
repository - com.ibm.dse.tools.workbench.base.Repository The repository where to searchdomainName - java.lang.String The name of the domain
public static java.lang.String[] getAllowedValues(TableRow domain)
throws WorkbenchException
domain - com.ibm.dse.tools.workbench.base.TableRow The row that represents the domain
public static TableRow getDomainByName(Repository repository,
java.lang.String domainName)
throws WorkbenchException
repository - com.ibm.dse.tools.workbench.base.Repository The repository where to searchdomainName - java.lang.String The name of the domain
public static TableRow getRowByValue(TableRow domain,
java.lang.String value)
throws WorkbenchException
domain - com.ibm.dse.tools.workbench.base.TableRowvalue - java.lang.String
public static TableRow[] getRows(Repository repository,
java.lang.String domainName)
throws WorkbenchException
repository - com.ibm.dse.tools.workbench.base.Repository The repository where to searchdomainName - java.lang.String The name of the domain
public static TableRow[] getRows(TableRow domain)
throws WorkbenchException
domain - com.ibm.dse.tools.workbench.base.TableRow The row representing the domain
public static boolean isAllowed(Repository repository,
java.lang.String domainName,
java.lang.String value)
throws WorkbenchException
repository - com.ibm.dse.tools.workbench.base.Repository The repository where to searchdomainName - java.lang.String The name of the domainvalue - java.lang.String The value to check
public static boolean isAllowed(TableRow domain,
java.lang.String value)
throws WorkbenchException
domain - com.ibm.dse.tools.workbench.base.TableRow The row representing the domainvalue - java.lang.String The value to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||