org.tigris.subversion.javahl
Class PropertyData

java.lang.Object
  extended by org.tigris.subversion.javahl.PropertyData

public class PropertyData
extends java.lang.Object

this class describes one property managed by subversion


Field Summary
static java.lang.String EOL_STYLE
          how the end of line code should be treated during retrieval
static java.lang.String EXECUTABLE
          flag if the file should be made excutable during retrieval
static java.lang.String EXECUTABLE_VALUE
          value for svn:executable
static java.lang.String EXTERNALS
          list of directory managed outside of this working copy
static java.lang.String IGNORE
          list of filenames with wildcards which should be ignored by add and status
static java.lang.String KEYWORDS
          list of keywords to be expanded during retrieval
static java.lang.String MIME_TYPE
          mime type of the entry, used to flag binary files
static java.lang.String NEEDS_LOCK
           
static java.lang.String REV_AUTHOR
          the author of the revision
static java.lang.String REV_DATE
          the date of the revision
static java.lang.String REV_LOG
          the log message of the revision
static java.lang.String REV_ORIGINAL_DATE
          the original date of the revision
 
Method Summary
 byte[] getData()
          Returns the byte array value of the property There is no protocol if a property is a string or a binary value
 java.lang.String getName()
          Returns the name of the property
 java.lang.String getPath()
          Return the path of the item which owns this property
 java.lang.String getValue()
          Returns the string value of the property.
 void remove(boolean recurse)
          remove this property from subversion
 void setValue(byte[] newValue, boolean recurse)
          modify the byte array value of a property The string array value is cleared
 void setValue(java.lang.String newValue, boolean recurse)
          modify the string value of a property The byte array value is cleared
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIME_TYPE

public static final java.lang.String MIME_TYPE
mime type of the entry, used to flag binary files

See Also:
Constant Field Values

IGNORE

public static final java.lang.String IGNORE
list of filenames with wildcards which should be ignored by add and status

See Also:
Constant Field Values

EOL_STYLE

public static final java.lang.String EOL_STYLE
how the end of line code should be treated during retrieval

See Also:
Constant Field Values

KEYWORDS

public static final java.lang.String KEYWORDS
list of keywords to be expanded during retrieval

See Also:
Constant Field Values

EXECUTABLE

public static final java.lang.String EXECUTABLE
flag if the file should be made excutable during retrieval

See Also:
Constant Field Values

EXECUTABLE_VALUE

public static final java.lang.String EXECUTABLE_VALUE
value for svn:executable

See Also:
Constant Field Values

EXTERNALS

public static final java.lang.String EXTERNALS
list of directory managed outside of this working copy

See Also:
Constant Field Values

REV_AUTHOR

public static final java.lang.String REV_AUTHOR
the author of the revision

See Also:
Constant Field Values

REV_LOG

public static final java.lang.String REV_LOG
the log message of the revision

See Also:
Constant Field Values

REV_DATE

public static final java.lang.String REV_DATE
the date of the revision

See Also:
Constant Field Values

REV_ORIGINAL_DATE

public static final java.lang.String REV_ORIGINAL_DATE
the original date of the revision

See Also:
Constant Field Values

NEEDS_LOCK

public static final java.lang.String NEEDS_LOCK
Since:
1.2 flag property if a lock is needed to modify this node
See Also:
Constant Field Values
Method Detail

getName

public java.lang.String getName()
Returns the name of the property

Returns:
the name

getValue

public java.lang.String getValue()
Returns the string value of the property. There is no protocol if a property is a string or a binary value

Returns:
the string value

getPath

public java.lang.String getPath()
Return the path of the item which owns this property

Returns:
the path

getData

public byte[] getData()
Returns the byte array value of the property There is no protocol if a property is a string or a binary value

Returns:
the byte array value

setValue

public void setValue(java.lang.String newValue,
                     boolean recurse)
              throws ClientException
modify the string value of a property The byte array value is cleared

Parameters:
newValue - the new string value
recurse - if operation should recurse directories
Throws:
ClientException

setValue

public void setValue(byte[] newValue,
                     boolean recurse)
              throws ClientException
modify the byte array value of a property The string array value is cleared

Parameters:
newValue - the new byte array value
recurse - if operation should recurse directories
Throws:
ClientException

remove

public void remove(boolean recurse)
            throws ClientException
remove this property from subversion

Parameters:
recurse - if operation should recurse directories
Throws:
ClientException