Class ReviewSubscription
- java.lang.Object
-
- com.perforce.p4java.impl.generic.core.MapEntry
-
- com.perforce.p4java.impl.generic.core.ReviewSubscription
-
- All Implemented Interfaces:
IMapEntry
,IReviewSubscription
public class ReviewSubscription extends MapEntry implements IReviewSubscription
Default ReviewSubscription implementation class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IMapEntry
IMapEntry.EntryType
-
-
Field Summary
-
Fields inherited from class com.perforce.p4java.impl.generic.core.MapEntry
comment, elementPattern, elementPatternStr, left, order, right, type
-
Fields inherited from interface com.perforce.p4java.core.IMapEntry
ORDER_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description ReviewSubscription()
Default constructor -- sets all local and superclass fields to null or zero.ReviewSubscription(int order, java.lang.String subscription)
Explicit value constructor -- calls super(order, subscription).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSubscription()
Get the review subscription.void
setSubscription(java.lang.String subscription)
Set the review subscription.-
Methods inherited from class com.perforce.p4java.impl.generic.core.MapEntry
getComment, getComment, getLeft, getLeft, getOrder, getRight, getRight, getType, parseComments, parseViewMappingString, quoteWhitespaceString, setComment, setLeft, setOrder, setRight, setType, stripComments, stripTypePrefix, toString, toString
-
-
-
-
Constructor Detail
-
ReviewSubscription
public ReviewSubscription()
Default constructor -- sets all local and superclass fields to null or zero.
-
ReviewSubscription
public ReviewSubscription(int order, java.lang.String subscription)
Explicit value constructor -- calls super(order, subscription). Note that this probably won't do what you expect it to if there's more than one element in the subscription.- Parameters:
order
- ordersubscription
- subscription
-
-
Method Detail
-
getSubscription
public java.lang.String getSubscription()
Description copied from interface:IReviewSubscription
Get the review subscription.- Specified by:
getSubscription
in interfaceIReviewSubscription
- Returns:
- subscription
- See Also:
IReviewSubscription.getSubscription()
-
setSubscription
public void setSubscription(java.lang.String subscription)
Description copied from interface:IReviewSubscription
Set the review subscription.- Specified by:
setSubscription
in interfaceIReviewSubscription
- Parameters:
subscription
- subscription- See Also:
IReviewSubscription.setSubscription(java.lang.String)
-
-