PowerDesigner provides default model checks to verify the validity of interfaces.
Check |
Description and Correction |
---|---|
Name/Code contains terms not in glossary |
[if glossary enabled] Names and codes must contain only approved terms drawn from the glossary.
|
Name/Code contains synonyms of glossary terms |
[if glossary enabled] Names and codes must not contain synonyms of glossary terms.
|
Name/Code uniqueness |
Object names must be unique in the namespace.
|
Empty classifier |
Attributes and operations are missing for this classifier.
|
Classifier visibility |
A private or protected classifier should be inner to another classifier.
|
Interface constructor |
An interface cannot be instantiated. Thus a constructor cannot be defined for an interface.
|
Interface navigability |
Navigation is not allowed from an interface.
|
Home interface create methods |
The return type for create<METHOD> methods must be the bean component interface type. The throws clause must include the javax.ejb.CreateException together with all exceptions defined in the throws clause of the matching ejbCreate<METHOD> and ejbPostCreate<METHOD> methods of the Bean class.
|
Home interface finder methods |
The return type for find<METHOD> methods must be the bean component interface type (for a single-object finder) or a collection of primary keys thereof (for a multi-object finder). The throws clause must include the javax.ejb.FinderException.
The following check applies to BPM Entity Beans only. The throws clause must include all exceptions defined in the throws clause of the matching ejbFind<METHOD> methods of the Bean class.
|
Remote Home interface methods |
The throws clause of the Remote Home interface methods must include the java.rmi.RemoteException.
|
Component interface business methods |
The throws clause of the component interface business methods must include all exceptions defined in the throws clause of the matching method of the Bean class. The throws clause of the Remote interface methods must include the java.rmi.RemoteException.
|
Incomplete bound classifier |
A classifier that is of type "Bound" must be bound to a generic classifier.
|