| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATE_PATTERN |
| Constructor and Description |
|---|
Property(java.util.Map<java.lang.String,java.lang.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(java.lang.String name,
java.lang.String sequence,
java.lang.String value,
long time,
java.util.Date modified,
java.lang.String modifiedBy)
Instantiates a new property.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getModified()
Gets the modified date.
|
java.lang.String |
getModifiedBy()
Gets the modified by user.
|
java.lang.String |
getName()
Gets the name of the property.
|
java.lang.String |
getSequence()
Gets the sequence number of the property.
|
long |
getTime()
Gets the time in milliseconds.
|
java.lang.String |
getValue()
Gets the value of the property.
|
public static final java.lang.String DATE_PATTERN
public Property(java.lang.String name,
java.lang.String sequence,
java.lang.String value,
long time,
java.util.Date modified,
java.lang.String modifiedBy)
name - the property namesequence - the sequence numbervalue - the property valuetime - the time in millisecondsmodified - the modified datemodifiedBy - the modified by userpublic Property(java.util.Map<java.lang.String,java.lang.Object> map)
map - the mappublic java.lang.String getName()
getName in interface IPropertyIProperty.getName()public java.lang.String getSequence()
getSequence in interface IPropertyIProperty.getSequence()public java.lang.String getValue()
getValue in interface IPropertyIProperty.getValue()public long getTime()
getTime in interface IPropertyIProperty.getTime()public java.util.Date getModified()
getModified in interface IPropertyIProperty.getModified()public java.lang.String getModifiedBy()
getModifiedBy in interface IPropertyIProperty.getModifiedBy()