| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_PATTERN |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final String DATE_PATTERN
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 String getName()
getName in interface IPropertyIProperty.getName()public int getSequence()
getSequence in interface IPropertyIProperty.getSequence()public String getValue()
getValue in interface IPropertyIProperty.getValue()public long getTime()
getTime in interface IPropertyIProperty.getTime()public Date getModified()
getModified in interface IPropertyIProperty.getModified()public String getModifiedBy()
getModifiedBy in interface IPropertyIProperty.getModifiedBy()Copyright © 2017 Perforce Software. All Rights Reserved.