public abstract class AbstractAttributable extends AbstractReferenceable implements Attributable
Attributable
interface.Constructor and Description |
---|
AbstractAttributable()
Default constructor
|
AbstractAttributable(String objectType) |
AbstractAttributable(String objectType,
String name) |
AbstractAttributable(String objectType,
String name,
String path) |
AbstractAttributable(String objectType,
String name,
String path,
String identifier) |
AbstractAttributable(String objectType,
String name,
String path,
String identifier,
List<Attribute> attributes) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(Attribute attribute) |
boolean |
equals(Object obj) |
Attribute |
getAttribute(String name) |
Boolean |
getAttributeAsBoolean(String name) |
Date |
getAttributeAsDate(String name) |
Long |
getAttributeAsLong(String name) |
Long |
getAttributeAsLong(String name,
long def) |
String |
getAttributeAsString(String name) |
List<Attribute> |
getAttributes() |
int |
hashCode() |
Attribute |
removeAttribute(String name) |
void |
setAttribute(String name,
Serializable value) |
void |
setAttributes(List<Attribute> attributes) |
getName, getPath, setName, setPath
getIdentifier, getObjectType, setIdentifier, setObjectType
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getIdentifier, getObjectType
public AbstractAttributable()
public AbstractAttributable(String objectType)
public AbstractAttributable(String objectType, String name, String path, String identifier)
public List<Attribute> getAttributes()
getAttributes
in interface Attributable
public void setAttributes(List<Attribute> attributes)
setAttributes
in interface Attributable
public void addAttribute(Attribute attribute)
public void setAttribute(String name, Serializable value)
public int hashCode()
hashCode
in class AbstractReferenceable
public boolean equals(Object obj)
equals
in class AbstractReferenceable
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA