|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.perforce.p4java.impl.generic.admin.ProtectionEntry
public class ProtectionEntry
Default IProtectionEntry implementation class.
Constructor Summary | |
---|---|
ProtectionEntry()
Default constructor -- sets all fields to null, zero, or false. |
|
ProtectionEntry(int order,
java.lang.String mode,
boolean group,
java.lang.String host,
java.lang.String name,
java.lang.String path)
Explicit-value constructor. |
|
ProtectionEntry(java.util.Map<java.lang.String,java.lang.Object> map,
int order)
Constructs a ProtectionEntry from the passed-in map; this map must have come from a Perforce IServer method call or it may fail. |
Method Summary | |
---|---|
java.lang.String |
getHost()
|
java.lang.String |
getMode()
|
java.lang.String |
getName()
|
int |
getOrder()
|
java.lang.String |
getPath()
|
boolean |
isGroup()
|
void |
setGroup(boolean group)
|
void |
setHost(java.lang.String host)
|
void |
setMode(java.lang.String mode)
|
void |
setName(java.lang.String name)
|
void |
setOrder(int order)
|
void |
setPath(java.lang.String path)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProtectionEntry()
public ProtectionEntry(int order, java.lang.String mode, boolean group, java.lang.String host, java.lang.String name, java.lang.String path)
public ProtectionEntry(java.util.Map<java.lang.String,java.lang.Object> map, int order)
Method Detail |
---|
public java.lang.String getHost()
getHost
in interface IProtectionEntry
IProtectionEntry.getHost()
public java.lang.String getMode()
getMode
in interface IProtectionEntry
IProtectionEntry.getMode()
public java.lang.String getName()
getName
in interface IProtectionEntry
IProtectionEntry.getName()
public int getOrder()
getOrder
in interface IProtectionEntry
IProtectionEntry.getOrder()
public java.lang.String getPath()
getPath
in interface IProtectionEntry
IProtectionEntry.getPath()
public boolean isGroup()
isGroup
in interface IProtectionEntry
IProtectionEntry.isGroup()
public void setGroup(boolean group)
setGroup
in interface IProtectionEntry
IProtectionEntry.setGroup(boolean)
public void setHost(java.lang.String host)
setHost
in interface IProtectionEntry
IProtectionEntry.setHost(java.lang.String)
public void setMode(java.lang.String mode)
setMode
in interface IProtectionEntry
IProtectionEntry.setMode(java.lang.String)
public void setName(java.lang.String name)
setName
in interface IProtectionEntry
IProtectionEntry.setName(java.lang.String)
public void setOrder(int order)
setOrder
in interface IProtectionEntry
IProtectionEntry.setOrder(int)
public void setPath(java.lang.String path)
setPath
in interface IProtectionEntry
IProtectionEntry.setPath(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |