Class FeatureInvocation
- java.lang.Object
-
- com.avaya.clientservices.call.feature.FeatureInvocation
-
public class FeatureInvocation extends java.lang.ObjectClass to map a feature invocation response to a request.
-
-
Constructor Summary
Constructors Constructor Description FeatureInvocation(FeatureType feature)Constructs FeatureInvocation object for a feature.FeatureInvocation(FeatureType feature, java.lang.String ownerExtension)Constructs FeatureInvocation object from specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)FeatureTypegetFeature()Returns the type of feature invoked.java.lang.StringgetOwnerExtension()Returns the owner extension associated with this feature.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
FeatureInvocation
public FeatureInvocation(FeatureType feature)
Constructs FeatureInvocation object for a feature.- Parameters:
feature- The feature type to be invoked.
-
FeatureInvocation
public FeatureInvocation(FeatureType feature, java.lang.String ownerExtension)
Constructs FeatureInvocation object from specified parameters.- Parameters:
feature- The feature type to be invoked.ownerExtension- The owner extension associated with the feature.
-
-
Method Detail
-
getFeature
public FeatureType getFeature()
Returns the type of feature invoked.- Returns:
- the type of feature invoked.
-
getOwnerExtension
public java.lang.String getOwnerExtension()
Returns the owner extension associated with this feature. When this parameter is empty, the feature is associated with the local user.- Returns:
- The owner extension associated with this feature.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-