public abstract class AbstractIdentifiable extends Object implements Identifiable
Constructor and Description |
---|
AbstractIdentifiable()
Zero-arg constructor
|
AbstractIdentifiable(String objectType)
Constructor
|
AbstractIdentifiable(String objectType,
String identifier)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getIdentifier()
Get the identifier of this object.
|
String |
getObjectType()
Get the object type of this item.
|
int |
hashCode() |
void |
setIdentifier(String identifier)
Set the identifier of this object.
|
void |
setObjectType(String objectType)
Set the type of object this represents.
|
public AbstractIdentifiable()
public AbstractIdentifiable(String objectType)
objectType
- the type of object being created.public String getIdentifier()
Identifiable
getIdentifier
in interface Identifiable
public String getObjectType()
Identifiable
getObjectType
in interface Identifiable
public void setIdentifier(String identifier)
identifier
- public void setObjectType(String objectType)
objectType
- Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA