All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.perforce.p4java.impl.generic.admin.ProtectionsTable Maven / Gradle / Ivy

Go to download

P4Java, the Perforce Java API is a Java-native API for accessing Perforce SCM services from within Java applications, servlets, plug-ins, and other Java contexts.

The newest version!
/**
 * Copyright (c) 2014 Perforce Software.  All rights reserved.
 */
package com.perforce.p4java.impl.generic.admin;

import java.util.List;

import com.perforce.p4java.admin.IProtectionEntry;
import com.perforce.p4java.admin.IProtectionsTable;

/**
 * Default IProtectionsTable implementation class.
 */
public class ProtectionsTable implements IProtectionsTable {

	/**
	 * List of protection entries
	 */
	private List entries = null;

	/**
	 * Default constructor.
	 */
	public ProtectionsTable() {
	}
	
	/**
	 * Explicit-value constructor.
	 * @param entries protections
	 */
	public ProtectionsTable(List entries) {
		this.entries = entries;
	}
	
	/**
	 * @see com.perforce.p4java.admin.IProtectionsTable#getEntries()
	 */
	public List getEntries() {
		return this.entries;
	}

	/**
	 * @see com.perforce.p4java.admin.IProtectionsTable#setEntries(java.util.List)
	 */
	public void setEntries(List entries) {
		this.entries = entries;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy