java.lang.Object
com.pi4j.common.IdentityBase<T>
- All Implemented Interfaces:
Describable,Identity,Lifecycle<T>,Extension<T>
- Direct Known Subclasses:
ExtensionBase,IOBase
Abstract IdentityBase class.
- Version:
- $Id: $Id
- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for IdentityBase.IdentityBase(String id) Constructor for IdentityBase.IdentityBase(String id, String name) Constructor for IdentityBase.IdentityBase(String id, String name, String description) Constructor for IdentityBase. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pi4j.common.Identity
getDescription, getId, getMetadata, getNameMethods inherited from interface com.pi4j.common.Lifecycle
initialize, shutdown
-
Field Details
-
logger
protected org.slf4j.Logger logger -
id
-
name
-
description
-
metadata
-
-
Constructor Details
-
IdentityBase
public IdentityBase()Constructor for IdentityBase.
-
IdentityBase
Constructor for IdentityBase.
- Parameters:
id- aStringobject.
-
IdentityBase
Constructor for IdentityBase.
-
IdentityBase
Constructor for IdentityBase.
-
-
Method Details
-
id
id.
-
name
name.
-
description
description.
- Specified by:
descriptionin interfaceIdentity- Returns:
- a
Stringobject.
-
metadata
metadata.
-