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()
SignatureDescription
getFeaturePathRequirementLevel
in interface SignatureDescription
public List<ParameterDescription> getParameterDescriptions()
SignatureDescription
getParameterDescriptions
in interface SignatureDescription
public TypeDescription getReturnTypeDescription()
SignatureDescription
getReturnTypeDescription
in interface SignatureDescription
public boolean isProducingURI()
SignatureDescription
isProducingURI
in interface SignatureDescription
public boolean isProducingLiteral()
SignatureDescription
isProducingLiteral
in interface SignatureDescription
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.