public static class IlrBOMVocabularyBuilder.MethodSignature
extends java.lang.Object
| Constructor and Description |
|---|
IlrBOMVocabularyBuilder.MethodSignature(java.lang.String methodName,
java.lang.String returnType,
java.util.List<java.lang.String> argumentTypes,
IlrBOMVocabularyBuilder.Domain methodDomain,
java.util.List<IlrBOMVocabularyBuilder.Domain> argumentDomains,
boolean isStatic)
This constructor creates a Method object from a method name, a return type and a list of arguments.
|
| Modifier and Type | Method and Description |
|---|---|
IlrBOMVocabularyBuilder.Domain |
getArgumentDomain(int i)
This method returns the argument domain that may has been assigned to the ith argument of this method if any.
|
java.util.List<IlrBOMVocabularyBuilder.Domain> |
getArgumentDomains()
This method returns the domains associated to the method arguments of the method represented
by this Method Signature.
|
java.util.List<java.lang.String> |
getArgumentTypes()
This method returns the list of method argument types.
|
IlrBOMVocabularyBuilder.Domain |
getMethodDomain()
This method returns the domain associated to the method represented by this Method Signature.
|
java.lang.String |
getMethodName()
This method returns the name of the Method object.
|
java.lang.String |
getReturnType()
This method returns the return type of this Method object.
|
boolean |
isStatic()
This method returns true if this method is static.
|
public IlrBOMVocabularyBuilder.MethodSignature(java.lang.String methodName,
java.lang.String returnType,
java.util.List<java.lang.String> argumentTypes,
IlrBOMVocabularyBuilder.Domain methodDomain,
java.util.List<IlrBOMVocabularyBuilder.Domain> argumentDomains,
boolean isStatic)
methodName - the name of the method. Can't be null.returnType - the return type as specified in the Type Section. If null, void is assumedargumentTypes - a list of arguments types as specified in the Type Section. Can be null if the method has no argumentsmethodDomain - a Domain associated to the return value of this method. Can be null.argumentDomains - a list of domains associated to method arguments. This list must have the same number of elements as argumentTypes.
If no domain is associated to an argument, a null value must be put in this list. This list can be null if no domain are set on
method arguments.isStatic - a boolean that specifies whether this method is static.public java.lang.String getMethodName()
public java.lang.String getReturnType()
public java.util.List<java.lang.String> getArgumentTypes()
public IlrBOMVocabularyBuilder.Domain getMethodDomain()
public java.util.List<IlrBOMVocabularyBuilder.Domain> getArgumentDomains()
public boolean isStatic()
public IlrBOMVocabularyBuilder.Domain getArgumentDomain(int i)
i - the argument index© Copyright IBM Corp. 1987, 2017