|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.perforce.p4java.impl.generic.admin.Property
public class Property
Default implementation of the IProperty interface.
Field Summary | |
---|---|
static String |
DATE_PATTERN
|
Constructor Summary | |
---|---|
Property(Map<String,Object> map)
Constructs a Property from the passed-in map; this map must have come from a Perforce IServer method call or it may fail. |
|
Property(String name,
int sequence,
String value,
long time,
Date modified,
String modifiedBy)
Instantiates a new property. |
Method Summary | |
---|---|
Date |
getModified()
Gets the modified date. |
String |
getModifiedBy()
Gets the modified by user. |
String |
getName()
Gets the name of the property. |
int |
getSequence()
Gets the sequence number of the property. |
long |
getTime()
Gets the time in milliseconds. |
String |
getValue()
Gets the value of the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DATE_PATTERN
Constructor Detail |
---|
public Property(String name, int sequence, String value, long time, Date modified, String modifiedBy)
name
- the property namesequence
- the sequence numbervalue
- the property valuetime
- the time in millisecondsmodified
- the modified datemodifiedBy
- the modified by userpublic Property(Map<String,Object> map)
map
- the mapMethod Detail |
---|
public String getName()
getName
in interface IProperty
IProperty.getName()
public int getSequence()
getSequence
in interface IProperty
IProperty.getSequence()
public String getValue()
getValue
in interface IProperty
IProperty.getValue()
public long getTime()
getTime
in interface IProperty
IProperty.getTime()
public Date getModified()
getModified
in interface IProperty
IProperty.getModified()
public String getModifiedBy()
getModifiedBy
in interface IProperty
IProperty.getModifiedBy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |