Package com.sas.lsaf.clinical.model
Class ModelDescriptor
- java.lang.Object
-
- com.sas.lsaf.core.AbstractIdentifiable
-
- com.sas.lsaf.clinical.model.ModelDescriptor
-
- All Implemented Interfaces:
Identifiable
,java.io.Serializable
public class ModelDescriptor extends AbstractIdentifiable
A lightweight representation of a model.- Since:
- 2.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModelDescriptor(java.lang.String id, java.lang.String name, java.lang.String type)
It is not intended or recommended that the consumer of this API construct these objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getName()
Gets the name of the model.java.lang.String
getType()
Gets the standard type of the model.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId
-
-
-
-
Constructor Detail
-
ModelDescriptor
public ModelDescriptor(java.lang.String id, java.lang.String name, java.lang.String type)
It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the model descriptors returned by the API.- Parameters:
id
- The identifier of the model.name
- The name of the model.type
- The standard type of the model.
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name of the model.- Returns:
- The name of the model.
-
getType
public java.lang.String getType()
Gets the standard type of the model.- Returns:
- The standard type of the model.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classAbstractIdentifiable
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractIdentifiable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractIdentifiable
-
-