Skip navigation links

Oracle® Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-01


oracle.imaging
Class NameId

java.lang.Object
  extended by oracle.imaging.BaseId
      extended by oracle.imaging.NameId

All Implemented Interfaces:
java.io.Serializable

public class NameId
extends BaseId
implements java.io.Serializable
See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.imaging.BaseId
ID_COMPARATOR, NAME_COMPARATOR

 

Constructor Summary
NameId()
           
NameId(long id)
          Constructor to set the Id property only.
NameId(long id, java.lang.String name)
          Constructor to set both Name and Id properties.
NameId(NameId nameId)
          Constructor to create a NameId from another NameId object.
NameId(java.lang.String name)
          Constructor to set the Name property only.

 

Method Summary
 long getId()
          Returns the Id property value.
 java.lang.String getName()
          Returns the Name property value.
 void setId(long id)
          Sets the Id property value.
 void setName(java.lang.String name)
          Sets the Name property value.
 NameId toNameId()
           

 

Methods inherited from class oracle.imaging.BaseId
equals, hashCode, nameTrimOrNull, toString

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

NameId

public NameId()

NameId

public NameId(long id,
              java.lang.String name)
Constructor to set both Name and Id properties.
Parameters:
id - The Id of the object
name - The Name of the object

NameId

public NameId(long id)
Constructor to set the Id property only. The Name property is set to a null value.
Parameters:
id - The Id of the object

NameId

public NameId(java.lang.String name)
Constructor to set the Name property only. The Id property is set to a zero value.
Parameters:
name - The Name of the object

NameId

public NameId(NameId nameId)
Constructor to create a NameId from another NameId object.
Parameters:
nameId -

Method Detail

toNameId

public NameId toNameId()
Overrides:
toNameId in class BaseId

setId

public void setId(long id)
Sets the Id property value.
Specified by:
setId in class BaseId
Parameters:
id - The new Id property value.

getId

public long getId()
Returns the Id property value.
Specified by:
getId in class BaseId
Returns:
The Id property value.

setName

public void setName(java.lang.String name)
Sets the Name property value. The maximum length of this property is determined by the ImagingConstants.NAME_LENGTH constant.
Specified by:
setName in class BaseId
Parameters:
name - The new Name property value.

getName

public java.lang.String getName()
Returns the Name property value.
Specified by:
getName in class BaseId
Returns:
The Name Property value.

Skip navigation links

Oracle® Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-01


Copyright © 2010, Oracle. All rights reserved.