|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.perforce.p4java.impl.generic.core.ServerResource com.perforce.p4java.impl.generic.core.BranchSpecSummary
public class BranchSpecSummary
Default implementation class for the IBranchSpecSummary interface.
Field Summary | |
---|---|
protected Date |
accessed
|
protected String |
description
|
protected boolean |
locked
|
protected String |
name
|
protected String |
ownerName
|
protected Date |
updated
|
Fields inherited from class com.perforce.p4java.impl.generic.core.ServerResource |
---|
refreshable, server, updateable |
Constructor Summary | |
---|---|
BranchSpecSummary()
Default constructor -- sets all fields to null or false. |
|
BranchSpecSummary(boolean summaryOnly)
Default constructor; same as no-argument default constructor, except that it sets the ServerResource superclass fields appropriately for summary only (everything false) or full branch spec (updateable and refreshable). |
|
BranchSpecSummary(boolean summaryOnly,
Date accessed,
Date updated,
String name,
String ownerName,
String description,
boolean locked)
Explicit-value constructor. |
|
BranchSpecSummary(Map<String,Object> map,
boolean summaryOnly)
Construct a BranchSpecSummary from a map returned by the Perforce server. |
Method Summary | |
---|---|
Date |
getAccessed()
Get the date of the last 'integrate' using this branch. |
String |
getDescription()
Get the branch's description (if any). |
String |
getName()
Get the name of this branch. |
String |
getOwnerName()
Get the name of the user who created this branch. |
Date |
getUpdated()
Get the date specification was last modified. |
boolean |
isLocked()
Return true if the branch spec is locked. |
void |
setAccessed(Date accessed)
Set the last-accessed date. |
void |
setDescription(String description)
Set the branch spec description. |
void |
setLocked(boolean locked)
Set whether the branch spec is locked or not. |
void |
setName(String name)
Set the name of this branch. |
void |
setOwnerName(String ownerName)
Set the owner's name for this branch. |
void |
setUpdated(Date updated)
Set the last-updated date. |
Methods inherited from class com.perforce.p4java.impl.generic.core.ServerResource |
---|
canRefresh, canUpdate, complete, refresh, setRefreshable, setServer, update, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.perforce.p4java.core.IServerResource |
---|
canRefresh, canUpdate, refresh, setServer, update, update, update |
Field Detail |
---|
protected Date accessed
protected Date updated
protected String name
protected String ownerName
protected String description
protected boolean locked
Constructor Detail |
---|
public BranchSpecSummary()
public BranchSpecSummary(boolean summaryOnly)
public BranchSpecSummary(boolean summaryOnly, Date accessed, Date updated, String name, String ownerName, String description, boolean locked)
public BranchSpecSummary(Map<String,Object> map, boolean summaryOnly)
If map is null, this is equivalent to calling the default summaryOnly-argument constructor.
Method Detail |
---|
public Date getAccessed()
IBranchSpecSummary
getAccessed
in interface IBranchSpecSummary
IBranchSpecSummary.getAccessed()
public void setAccessed(Date accessed)
IBranchSpecSummary
setAccessed
in interface IBranchSpecSummary
accessed
- new accessed date.IBranchSpecSummary.setAccessed(java.util.Date)
public Date getUpdated()
IBranchSpecSummary
getUpdated
in interface IBranchSpecSummary
IBranchSpecSummary.getUpdated()
public void setUpdated(Date updated)
IBranchSpecSummary
setUpdated
in interface IBranchSpecSummary
updated
- new updated date.IBranchSpecSummary.setUpdated(java.util.Date)
public String getName()
IBranchSpecSummary
getName
in interface IBranchSpecSummary
IBranchSpecSummary.getName()
public void setName(String name)
IBranchSpecSummary
setName
in interface IBranchSpecSummary
name
- new branch spec nameIBranchSpecSummary.setName(java.lang.String)
public String getOwnerName()
IBranchSpecSummary
getOwnerName
in interface IBranchSpecSummary
IBranchSpecSummary.getOwnerName()
public void setOwnerName(String ownerName)
IBranchSpecSummary
setOwnerName
in interface IBranchSpecSummary
ownerName
- new owner's nameIBranchSpecSummary.setOwnerName(java.lang.String)
public String getDescription()
IBranchSpecSummary
getDescription
in interface IBranchSpecSummary
IBranchSpecSummary.getDescription()
public void setDescription(String description)
IBranchSpecSummary
setDescription
in interface IBranchSpecSummary
description
- new description string.IBranchSpecSummary.setDescription(java.lang.String)
public boolean isLocked()
IBranchSpecSummary
isLocked
in interface IBranchSpecSummary
IBranchSpecSummary.isLocked()
public void setLocked(boolean locked)
IBranchSpecSummary
setLocked
in interface IBranchSpecSummary
locked
- boolean lock statusIBranchSpecSummary.setLocked(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |