public class InterfaceDescription
extends java.lang.Object
InterfaceDescription
is used by the
ProxyGenerator
as information storage about
the interfaces being implemented.JavaParser
is used.Constructor and Description |
---|
InterfaceDescription() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInterface()
Returns the name of the interface being implemented.
|
JavaSource |
getJavaSource()
Returns an instance of
JavaSource , matching
the interface getInterface() . |
java.lang.String |
getType()
Returns, how to gather information about the interface.
|
boolean |
isMandatory()
Returns whether this interface is mandatory.
|
void |
setInterface(java.lang.String pName)
Sets the name of the interface being implemented.
|
void |
setMandatory(boolean pMandatory)
Sets whether this interface is mandatory.
|
void |
setType(java.lang.String pType)
Sets, how to gather information about the interface.
|
public void setInterface(java.lang.String pName)
public java.lang.String getInterface()
public void setType(java.lang.String pType)
JavaParser
).
The default is null, in which case "Reflection" and "Source"
are tried, in that order.public java.lang.String getType()
JavaParser
).
The default is null, in which case "Reflection" and "Source"
are tried, in that order.public void setMandatory(boolean pMandatory)
public boolean isMandatory()
public JavaSource getJavaSource() throws java.lang.Exception
JavaSource
, matching
the interface getInterface()
.java.lang.Exception