com.starteam
Class VectorProperty

java.lang.Object
  extended by com.starteam.Property
      extended by com.starteam.VectorProperty
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
BinaryProperty, MapProperty, ObjectArrayProperty, TextProperty

public abstract class VectorProperty
extends Property

A definition for Vector Properties; subclasses include Arrays, Text etc


Nested Class Summary
static class VectorProperty.WebCacheVectorProperty
          Base accessor for cached SDK objects encapsulating the statefulness of objects obtained from the artifact cache.
 
Nested classes/interfaces inherited from class com.starteam.Property
Property.MetaData, Property.WebCacheProperty
 
Method Summary
 Property copy()
          Creates a copy of this VectorProperty object.
 int getAbsoluteMaxLength()
          Gets the absolute maximum length supported for this property type.
 int getMaxLength()
          Gets the maximum length of a property value.
 int getMinLength()
          Gets the minimum length of a property value.
 boolean isEqualTo(Property property)
          Compares two VectorProperty objects.
 void setMaxLength(int maxLength)
          Sets the maximum length of a property value.
 void setMinLength(int minLength)
          Sets the minimum length of a property value.
 
Methods inherited from class com.starteam.Property
areValuesEqual, equals, getDebugString, getDependentProperties, getDisplayName, getDisplayNameTranslations, getDisplayValue, getGenericDefaultValue, getID, getName, getServer, getType, hashCode, isAdvanced, isCalculated, isClientCalculated, isDescriptor, isDirty, isDisabled, isEnabled, isGenericCalculated, isHeader, isItemProperty, isLegalValue, isNew, isPrimaryDescriptor, isQueryRelationSupported, isRequired, isRestricted, isRevisionIndependent, isServerCalculated, isSortByTextValueSupported, isStored, isSysDefined, isUserCustomized, isUserDefined, isUserModifiable, isViewSpecific, resolveAllDependencies, setDescriptor, setDisplayName, setDisplayNameTranslations, setEnabled, setGenericDefaultValue, setPrimaryDescriptor, setRequired, toString, toXml, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getMinLength

public int getMinLength()
Gets the minimum length of a property value.

Returns:
The minimum length of a property value.

setMinLength

public void setMinLength(int minLength)
Sets the minimum length of a property value.

Parameters:
minLength - - the minimum length of a property value.

getMaxLength

public int getMaxLength()
Gets the maximum length of a property value.

Returns:
The maximum length of a property value.

setMaxLength

public void setMaxLength(int maxLength)
Sets the maximum length of a property value.

Parameters:
maxLength - - The maximum length of a property value.

getAbsoluteMaxLength

public int getAbsoluteMaxLength()
Gets the absolute maximum length supported for this property type.

Returns:
The absolute maximum length supported for this property type.

copy

public Property copy()
Creates a copy of this VectorProperty object. Useful to applications that want to save a snapshot of the VectorProperty in a given state, for example, before calling Server.refreshTypes().

The copied property will have the same parent Type as the original property. The Type object is not copied.

Overrides:
copy in class Property
Returns:
A copy of this VectorProperty object.
See Also:
VectorProperty.isEqualTo(com.starteam.Property)

isEqualTo

public boolean isEqualTo(Property property)
Compares two VectorProperty objects. It returns true if the two are identical VectorProperty objects; false, otherwise.

Overrides:
isEqualTo in class Property
Parameters:
property - the property to compare
Returns:
true if the two are identical VectorProperty objects; false, otherwise.
See Also:
VectorProperty.copy()


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.