Class Property
java.lang.Object
com.perforce.p4java.impl.generic.admin.Property
- All Implemented Interfaces:
IProperty
Default implementation of the IProperty interface.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new property.Constructs a Property from the passed-in map; this map must have come from a Perforce IServer method call or it may fail. -
Method Summary
-
Field Details
-
DATE_PATTERN
- See Also:
-
-
Constructor Details
-
Property
public Property(String name, String sequence, String value, long time, Date modified, String modifiedBy) Instantiates a new property.- Parameters:
name- the property namesequence- the sequence numbervalue- the property valuetime- the time in millisecondsmodified- the modified datemodifiedBy- the modified by user
-
Property
Constructs a Property from the passed-in map; this map must have come from a Perforce IServer method call or it may fail. If map is null, equivalent to calling the default constructor.- Parameters:
map- the map
-
-
Method Details
-
getName
Gets the name of the property. -
getSequence
Gets the sequence number of the property.- Specified by:
getSequencein interfaceIProperty- Returns:
- the sequence number
- See Also:
-
getValue
Gets the value of the property. -
getTime
public long getTime()Gets the time in milliseconds. -
getModified
Gets the modified date.- Specified by:
getModifiedin interfaceIProperty- Returns:
- the modified date
- See Also:
-
getModifiedBy
Gets the modified by user.- Specified by:
getModifiedByin interfaceIProperty- Returns:
- the modified by user
- See Also:
-