Class ClientView

java.lang.Object
com.perforce.p4java.core.ViewMap<IClientViewMapping>
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.
  • Constructor Details

    • 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.
      Parameters:
      client - client
      mapping - mapping
  • Method Details

    • getClient

      public IClient getClient()
      Get the client object (not path) associated with this view, if any.
      Returns:
      Client object
    • setClient

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