public class SignatureDescriptionImpl extends Object implements SignatureDescription
| Modifier and Type | Field and Description |
|---|---|
private RequirementLevels |
featurePathRequirementLevel |
private List<ParameterDescription> |
parameterDescriptions |
private boolean |
producingURI |
private TypeDescription |
returnTypeDescription |
| Constructor and Description |
|---|
SignatureDescriptionImpl(boolean producingURI,
TypeDescription returnTypeDescription,
List<ParameterDescription> parameterDescriptions,
RequirementLevels featurePathRequirementLevel) |
| Modifier and Type | Method and Description |
|---|---|
RequirementLevels |
getFeaturePathRequirementLevel()
Returns an indicator of whether the feature path argument is required, optional or ignored.
|
List<ParameterDescription> |
getParameterDescriptions()
Returns the description of the parameters (excluding the ones that are implicit based on the nature of
the signature, e.g. datatype, lang, value).
|
TypeDescription |
getReturnTypeDescription()
Returns a description of the return type
|
boolean |
isProducingLiteral()
Tells wheter this signature produces literals.
|
boolean |
isProducingURI()
Tells whether this signature produces URIs.
|
String |
toString() |
private final List<ParameterDescription> parameterDescriptions
private final RequirementLevels featurePathRequirementLevel
private final boolean producingURI
private final TypeDescription returnTypeDescription
public SignatureDescriptionImpl(boolean producingURI,
TypeDescription returnTypeDescription,
List<ParameterDescription> parameterDescriptions,
RequirementLevels featurePathRequirementLevel)
public RequirementLevels getFeaturePathRequirementLevel()
SignatureDescriptiongetFeaturePathRequirementLevel in interface SignatureDescriptionpublic List<ParameterDescription> getParameterDescriptions()
SignatureDescriptiongetParameterDescriptions in interface SignatureDescriptionpublic TypeDescription getReturnTypeDescription()
SignatureDescriptiongetReturnTypeDescription in interface SignatureDescriptionpublic boolean isProducingURI()
SignatureDescriptionisProducingURI in interface SignatureDescriptionpublic boolean isProducingLiteral()
SignatureDescriptionisProducingLiteral in interface SignatureDescriptionCopyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.