Primavera Integration API 6.1

com.primavera.integration.collab
Class VersionProperties

java.lang.Object
  extended by com.primavera.integration.collab.CollabProperties
      extended by com.primavera.integration.collab.ItemProperties
          extended by com.primavera.integration.collab.VersionProperties
All Implemented Interfaces:
Serializable, Map

public class VersionProperties
extends ItemProperties
implements Serializable

Collaboration properties for versions.

The property keys used in this class are:

  • CollabProperties.PROPKEY_ID_VERSION
  • CollabProperties.PROPKEY_ID_DOCUMENT
  • CollabProperties.PROPKEY_IS_CHECKED_OUT
  • CollabProperties.PROPKEY_OBJECTID_CHECKED_OUT_BY
  • CollabProperties.PROPKEY_DATE_CHECKED_OUT
  • CollabProperties.PROPKEY_COMMENT
  • CollabProperties.PROPKEY_SIZE
  • CollabProperties.PROPKEY_VERSION_NUMBER
  • CollabProperties.PROPKEY_IS_LATEST_VERSION
  • CollabProperties.PROPKEY_IS_UNDER_REVIEW
  • CollabProperties.PROPKEY_OBJECTID_MODIFIED_BY
  • CollabProperties.PROPKEY_DATE_CREATED
  • CollabProperties.PROPKEY_DATE_MODIFIED

    See Also:
    Serialized Form

    Nested Class Summary
     
    Nested classes/interfaces inherited from interface java.util.Map
    Map.Entry<K,V>
     
    Field Summary
     
    Fields inherited from class com.primavera.integration.collab.CollabProperties
    KEYTYPE_BOOLEAN, KEYTYPE_DATE, KEYTYPE_DOCUMENTID, KEYTYPE_FOLDERID, KEYTYPE_INTEGER, KEYTYPE_LONG, KEYTYPE_OBJECTID, KEYTYPE_STRING, KEYTYPE_VERSIONID, PROPKEY_ACTIVITY, PROPKEY_CHILDREN_COUNT, PROPKEY_COMMENT, PROPKEY_DATE, PROPKEY_DATE_CHECKED_OUT, PROPKEY_DATE_CREATED, PROPKEY_DATE_MODIFIED, PROPKEY_DESCRIPTION, PROPKEY_FILE_EXTENSION, PROPKEY_ID_DOCUMENT, PROPKEY_ID_FOLDER, PROPKEY_ID_PARENT, PROPKEY_ID_VERSION, PROPKEY_IS_CHECKED_OUT, PROPKEY_IS_LATEST_VERSION, PROPKEY_IS_UNDER_REVIEW, PROPKEY_NAME, PROPKEY_OBJECTID_CHECKED_OUT_BY, PROPKEY_OBJECTID_CREATED_BY, PROPKEY_OBJECTID_DOCUMENT, PROPKEY_OBJECTID_MODIFIED_BY, PROPKEY_OBJECTID_PROJECT, PROPKEY_OBJECTID_USER, PROPKEY_SECURITY_POLICY, PROPKEY_SIZE, PROPKEY_TITLE, PROPKEY_VERSION_NUMBER
     
    Constructor Summary
    VersionProperties()
              Default class constructor
    VersionProperties(Map prop)
              Class constructor allowing the internal map to be set
     
    Method Summary
     boolean equals(Object o)
              Compares the specified object with this property map for equality.
     VersionId getId()
              Returns the VersionId of the version described by these properties
     int hashCode()
              Returns the hash code value for this properties map.
     Set validKeySet()
              Returns an unmodifiable set of all possible valid keys for this properties class
     
    Methods inherited from class com.primavera.integration.collab.CollabProperties
    clear, containsKey, containsValue, entrySet, get, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsInteger, getPropertyAsLong, getPropertyAsObjectId, getPropertyAsString, getPropertyType, isEmpty, keySet, put, putAll, remove, size, toString, values
     
    Methods inherited from class java.lang.Object
    getClass, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    VersionProperties

    public VersionProperties()
    Default class constructor


    VersionProperties

    public VersionProperties(Map prop)
    Class constructor allowing the internal map to be set

    Parameters:
    prop - map of all set properties
    Method Detail

    equals

    public boolean equals(Object o)
    Compares the specified object with this property map for equality. Returns true if the given object is also a map and the two Maps represent the same mappings.

    Specified by:
    equals in interface Map
    Overrides:
    equals in class ItemProperties
    Parameters:
    o - object to be compared for equality with this map
    Returns:
    boolean true if the specified object is equal to this map

    hashCode

    public int hashCode()
    Returns the hash code value for this properties map.

    Specified by:
    hashCode in interface Map
    Overrides:
    hashCode in class ItemProperties
    Returns:
    int the hash code value for this map.

    validKeySet

    public Set validKeySet()
    Returns an unmodifiable set of all possible valid keys for this properties class

    Specified by:
    validKeySet in class CollabProperties
    Returns:
    Set the set of possible keys

    getId

    public VersionId getId()
    Returns the VersionId of the version described by these properties

    Returns:
    VersionId the unique id of the version

    Primavera Integration API 6.1

    Copyright © Primavera 1999-2007. All rights reserved.