com.perforce.p4java.impl.generic.client
Class ClientView

java.lang.Object
  extended by com.perforce.p4java.core.ViewMap<IClientViewMapping>
      extended by com.perforce.p4java.impl.generic.client.ClientView
All Implemented Interfaces:
Iterable<IClientViewMapping>

public class ClientView
extends ViewMap<IClientViewMapping>

Simple default generic implementation class for the IClientView and associated IClientViewMapping interfaces. Relies heavily on being a simple extension of the underlying ViewMap class.


Nested Class Summary
static class ClientView.ClientViewMapping
          Simple extension of the basic MapEntry class to provide convenience methods based on "depot" and "client" rather than "left" and "right".
 
Field Summary
 
Fields inherited from class com.perforce.p4java.core.ViewMap
entryList
 
Constructor Summary
ClientView()
          Default constructor; simply calls the superclass default constructor and sets this.client to null.
ClientView(IClient client, List<IClientViewMapping> mapping)
          Construct a ClientView from the passed-in client and mapping list.
 
Method Summary
 IClient getClient()
          Get the client object (not path) associated with this view, if any.
 void setClient(IClient client)
          Set the client object (not path) associated with this view, if any.
 
Methods inherited from class com.perforce.p4java.core.ViewMap
addEntry, checkEntryList, deleteEntry, getEntry, getEntryList, getSize, iterator, setEntry, setEntryList, updateEntryListPositions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientView

public ClientView()
Default constructor; simply calls the superclass default constructor and sets this.client to null.


ClientView

public ClientView(IClient client,
                  List<IClientViewMapping> mapping)
Construct a ClientView from the passed-in client and mapping list.

Method Detail

getClient

public IClient getClient()
Get the client object (not path) associated with this view, if any.


setClient

public void setClient(IClient client)
Set the client object (not path) associated with this view, if any.



Copyright © 2015 Perforce Software. All Rights Reserved.