com.starteam
Class BinaryProperty

java.lang.Object
  extended by com.starteam.Property
      extended by com.starteam.VectorProperty
          extended by com.starteam.BinaryProperty
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
File.Type.MD5Property, File.Type.SyncMD5Property, User.Type.PasswordProperty

public class BinaryProperty
extends VectorProperty

A BinaryProperty is a Property whose value is a Byte Stream


Nested Class Summary
static class BinaryProperty.WebCacheBinaryProperty
          Base accessor for cached SDK objects encapsulating the statefulness of objects obtained from the artifact cache.
 
Nested classes/interfaces inherited from class com.starteam.VectorProperty
VectorProperty.WebCacheVectorProperty
 
Nested classes/interfaces inherited from class com.starteam.Property
Property.MetaData, Property.WebCacheProperty
 
Method Summary
 byte[] getDefaultValue()
          returns the default value for this property instance
 java.lang.String getDisplayValue(java.lang.Object value)
          Converts the given property value to a string suitable for display.
 QueryPart newQueryPart(QueryPart.Relation relation, byte[] value)
          Creates a new query expression that tests this property.
 void setDefaultValue(byte[] value)
          sets the default value for this property instance
 
Methods inherited from class com.starteam.VectorProperty
copy, getAbsoluteMaxLength, getMaxLength, getMinLength, isEqualTo, setMaxLength, setMinLength
 
Methods inherited from class com.starteam.Property
areValuesEqual, equals, getDebugString, getDependentProperties, getDisplayName, getDisplayNameTranslations, 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

getDefaultValue

public byte[] getDefaultValue()
returns the default value for this property instance

Returns:
byte[]

setDefaultValue

public void setDefaultValue(byte[] value)
sets the default value for this property instance

Parameters:
value - byte[]

newQueryPart

public QueryPart newQueryPart(QueryPart.Relation relation,
                              byte[] value)
Creates a new query expression that tests this property.

Parameters:
relation - The query relation.
value - The value to be tested.
Returns:
A new query expression.

getDisplayValue

public java.lang.String getDisplayValue(java.lang.Object value)
Converts the given property value to a string suitable for display.

Specified by:
getDisplayValue in class Property
Parameters:
value - A legal value for this property.
Returns:
A string representation of the value


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