Remote Systems
v6.4.1

com.ibm.etools.systems.core.resources
Class SystemRemoteMarkerInfo

java.lang.Object
  extended bycom.ibm.etools.systems.core.resources.SystemRemoteMarkerInfo
All Implemented Interfaces:
Cloneable, ISystemRemoteMarkerSetElement

public class SystemRemoteMarkerInfo
extends Object
implements ISystemRemoteMarkerSetElement, Cloneable

Objects of this type contain marker information.


Field Summary
protected  Map attributes
           
static String Copyright
           
protected  long creationTime
           
protected  long id
           
protected  String type
           
protected static long UNDEFINED_ID
           
 
Constructor Summary
SystemRemoteMarkerInfo()
          Constructor for SystemRemoteMarkerInfo.
 
Method Summary
protected  Object clone()
           
 Object getAttribute(String attributeName)
          Get the attribute value given the attribute name.
 Map getAttributes()
          Get the attributes.
 Map getAttributes(boolean makeCopy)
          Get the attributes.
 Object[] getAttributes(String[] attributeNames)
          Get attribute values given the attribute names.
 long getCreationTime()
          Get the creation time.
 long getId()
          Get the id.
 String getType()
          Get the type.
protected static boolean isValidAttributeValue(Object value)
          Checks if attribute value is valid.
 void setAttribute(String attributeName, Object value)
          Set the value of an attribute.
 void setAttributes(Map attributes)
          Set the attributes.
 void setAttributes(String[] attributeNames, Object[] values)
          Set the values of an array of attributes
 void setCreationTime(long creationTime)
          Set the creation time.
 void setId(long id)
          Set the marker id.
 void setType(String type)
          Set the type.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

UNDEFINED_ID

protected static final long UNDEFINED_ID
See Also:
Constant Field Values

id

protected long id

type

protected String type

attributes

protected Map attributes

creationTime

protected long creationTime
Constructor Detail

SystemRemoteMarkerInfo

public SystemRemoteMarkerInfo()
Constructor for SystemRemoteMarkerInfo.

Method Detail

setId

public void setId(long id)
Set the marker id.


getId

public long getId()
Description copied from interface: ISystemRemoteMarkerSetElement
Get the id.

Specified by:
getId in interface ISystemRemoteMarkerSetElement
Returns:
the id
See Also:
ISystemRemoteMarkerSetElement.getId()

setType

public void setType(String type)
Set the type.


getType

public String getType()
Get the type.

Returns:
the marker type

setAttributes

public void setAttributes(Map attributes)
Set the attributes.


getAttributes

public Map getAttributes()
Get the attributes.

Returns:
the attributes

getAttributes

public Map getAttributes(boolean makeCopy)
Get the attributes.

Returns:
the attribute map

setCreationTime

public void setCreationTime(long creationTime)
Set the creation time.


getCreationTime

public long getCreationTime()
Get the creation time.

Returns:
the creation time

clone

protected Object clone()
                throws CloneNotSupportedException
Throws:
CloneNotSupportedException
See Also:
Object.clone()

getAttributes

public Object[] getAttributes(String[] attributeNames)
Get attribute values given the attribute names.

Returns:
the array of attribute values

getAttribute

public Object getAttribute(String attributeName)
Get the attribute value given the attribute name.

Returns:
the attribute value

isValidAttributeValue

protected static boolean isValidAttributeValue(Object value)
Checks if attribute value is valid.

Returns:
true if value is null, or a String, or an Integer, or a Boolean

setAttribute

public void setAttribute(String attributeName,
                         Object value)
Set the value of an attribute.


setAttributes

public void setAttributes(String[] attributeNames,
                          Object[] values)
Set the values of an array of attributes


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.