COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.repository.internal.resource
Class SMLIFIdentity

java.lang.Object
  extended by org.eclipse.cosmos.rm.repository.internal.resource.SMLIFIdentity
All Implemented Interfaces:
org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity

public class SMLIFIdentity
extends java.lang.Object
implements org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity

Represents an SML-IF identity


Constructor Summary
SMLIFIdentity()
          Default constructor
SMLIFIdentity(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String displayName, java.lang.String version, java.lang.String baseURI)
          Convenience constructor
 
Method Summary
 java.lang.String getBaseURI()
          Returns the base URI of the SML-IF document
 java.lang.String getDescription()
          Returns the description of the SML-IF document
 java.lang.String getDisplayName()
          Returns the display name of the SML-IF document
 java.lang.String getId()
          Retrieves the ID of the SML-IF document, which is implementation specific.
 java.lang.String getName()
          Returns the name of the SML-IF document
 java.lang.String getVersion()
          Returns the version of the SML-IF document
 void setBaseURI(java.lang.String baseURI)
           
 void setDescription(java.lang.String description)
           
 void setDisplayName(java.lang.String displayName)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMLIFIdentity

public SMLIFIdentity()
Default constructor


SMLIFIdentity

public SMLIFIdentity(java.lang.String id,
                     java.lang.String name,
                     java.lang.String description,
                     java.lang.String displayName,
                     java.lang.String version,
                     java.lang.String baseURI)
Convenience constructor

Method Detail

getId

public java.lang.String getId()
Description copied from interface: org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Retrieves the ID of the SML-IF document, which is implementation specific.

Specified by:
getId in interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns:
the id

setId

public void setId(java.lang.String id)
Parameters:
id - the id to set

getName

public java.lang.String getName()
Description copied from interface: org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns the name of the SML-IF document

Specified by:
getName in interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Description copied from interface: org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns the description of the SML-IF document

Specified by:
getDescription in interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description to set

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns the display name of the SML-IF document

Specified by:
getDisplayName in interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns:
the displayName

setDisplayName

public void setDisplayName(java.lang.String displayName)
Parameters:
displayName - the displayName to set

getVersion

public java.lang.String getVersion()
Description copied from interface: org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns the version of the SML-IF document

Specified by:
getVersion in interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns:
the version

setVersion

public void setVersion(java.lang.String version)
Parameters:
version - the version to set

getBaseURI

public java.lang.String getBaseURI()
Description copied from interface: org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns the base URI of the SML-IF document

Specified by:
getBaseURI in interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLIFIdentity
Returns:
the baseURI

setBaseURI

public void setBaseURI(java.lang.String baseURI)
Parameters:
baseURI - the baseURI to set

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification