com.perforce.p4java.impl.generic.core
Class ReviewSubscription

java.lang.Object
  extended by com.perforce.p4java.impl.generic.core.MapEntry
      extended by 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
elementPattern, elementPatternStr, left, order, right, type
 
Fields inherited from interface com.perforce.p4java.core.IMapEntry
EXCLUDE_PREFIX, ORDER_UNKNOWN, OVERLAY_PREFIX
 
Constructor Summary
ReviewSubscription()
          Default constructor -- sets all local and superclass fields to null or zero.
ReviewSubscription(int order, String subscription)
          Explicit value constructor -- calls super(order, subscription).
 
Method Summary
 String getSubscription()
          Get the review subscription.
 void setSubscription(String subscription)
          Set the review subscription.
 
Methods inherited from class com.perforce.p4java.impl.generic.core.MapEntry
getLeft, getLeft, getOrder, getRight, getRight, getType, parseViewMappingString, quoteWhitespaceString, setLeft, setOrder, setRight, setType, stripTypePrefix, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.perforce.p4java.core.IMapEntry
getLeft, getLeft, getOrder, getRight, getRight, getType, setLeft, setOrder, setRight, setType, toString, toString
 

Constructor Detail

ReviewSubscription

public ReviewSubscription()
Default constructor -- sets all local and superclass fields to null or zero.


ReviewSubscription

public ReviewSubscription(int order,
                          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.

Method Detail

getSubscription

public String getSubscription()
Description copied from interface: IReviewSubscription
Get the review subscription.

Specified by:
getSubscription in interface IReviewSubscription
See Also:
IReviewSubscription.getSubscription()

setSubscription

public void setSubscription(String subscription)
Description copied from interface: IReviewSubscription
Set the review subscription.

Specified by:
setSubscription in interface IReviewSubscription
See Also:
IReviewSubscription.setSubscription(java.lang.String)


Copyright © 2015 Perforce Software. All Rights Reserved.