Class ClientView
- java.lang.Object
-
- com.perforce.p4java.core.ViewMap<IClientViewMapping>
-
- com.perforce.p4java.impl.generic.client.ClientView
-
- All Implemented Interfaces:
java.lang.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
Nested Classes Modifier and Type Class Description 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".-
Nested classes/interfaces inherited from class com.perforce.p4java.core.ViewMap
ViewMap.MapDirection
-
-
Constructor Summary
Constructors Constructor Description ClientView()
Default constructor; simply calls the superclass default constructor and sets this.client to null.ClientView(IClient client, java.util.List<IClientViewMapping> mapping)
Construct a ClientView from the passed-in client and mapping list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, translate, updateEntryListPositions
-
-
-
-
Constructor Detail
-
ClientView
public ClientView()
Default constructor; simply calls the superclass default constructor and sets this.client to null.
-
ClientView
public ClientView(IClient client, java.util.List<IClientViewMapping> mapping)
Construct a ClientView from the passed-in client and mapping list.- Parameters:
client
- clientmapping
- mapping
-
-