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 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()
Copyright © 2017 Perforce Software. All Rights Reserved.