Code Search for Developers
 
 
  

UUID.java from CSDerby at Krugle


Show UUID.java syntax highlighted

/*

   Derby - Class org.apache.derby.catalog.UUID

   Copyright 1997, 2004 The Apache Software Foundation or its licensors, as applicable.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

 */

package org.apache.derby.catalog;

/**

 An interface for accessing Cloudscape UUIDs, unique identifiers.
		
	<p>The values in the
	system catalog held in ID columns with a type of CHAR(36) are the
	string representations of these UUIDs.

	<p>A UUID implements equals() and hashCode based on value equality.

 */

public interface UUID extends java.io.Externalizable
{
	/**
	  UUID_BYTE_LENGTH

	  The number of bytes in the array toByteArray returns.
	  */
	static int UUID_BYTE_LENGTH = 16;
	
	/**
		Produce a string representation of this UUID which
		is suitable for use as a unique ANSI identifier.
	 */
	String toANSIidentifier();

	/**
	    Produce a byte array representation of this UUID
		which can be passed to UUIDFactory.recreateUUID later
		on to reconstruct it.
	*/
	byte[] toByteArray();

	/**
	  Clone this UUID.

	  @return	a copy of this UUID
	  */
	UUID cloneMe();

	/**
	  Create a hex string representation of this UUID.
	  */
	String toHexString();
}





See more files for this project here

CSDerby

CSDerby is not CloudScape-Derby(for Java) but rather Derby forked/ported to CSharp. Specifically it is intended to be a native c# Embedded DB for the mono/net platform with the ADO.NET API instead of the JDBC API.

Project homepage: http://sourceforge.net/projects/csharpderbyport
Programming language(s): Java,SQL
License: apache20

  types/
    BaseTypeIdImpl.java
    DecimalTypeIdImpl.java
    DefaultInfoImpl.java
    IndexDescriptorImpl.java
    MethodAliasInfo.java
    ReferencedColumnsDescriptorImpl.java
    RoutineAliasInfo.java
    StatisticsImpl.java
    SynonymAliasInfo.java
    TypeDescriptorImpl.java
    TypesImplInstanceGetter.java
    UserDefinedTypeIdImpl.java
  AliasInfo.java
  DefaultInfo.java
  Dependable.java
  DependableFinder.java
  GetProcedureColumns.java
  IndexDescriptor.java
  ReferencedColumns.java
  Statistics.java
  SystemProcedures.java
  TriggerNewTransitionRows.java
  TriggerOldTransitionRows.java
  TypeDescriptor.java
  UUID.java
  build.xml