All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.addc.commons.slp.AttributeValue Maven / Gradle / Ivy

Go to download

The addc-slp library supplies client classes for registering objects with a Service Location Protocol Daemon and for looking theses objects up later.

There is a newer version: 2.6
Show newest version
package com.addc.commons.slp;

/**
 * 
 * The AttributeValue interface defines the contract for attribute values. T can be String, Boolean, Integer or byte[].
 * 
 * @see StringAttributeValue
 * @see BooleanAttributeValue
 * @see IntegerAttributeValue
 * @see OpaqueAttributeValue
 */
public interface AttributeValue {

    /**
     * Get the attribute value
     *
     * @return the attribute value
     */
    T getValue();
 
    /**
     * Get the simple class name of the value
     *
     * @return the simple class name of the value
     */
    String getClassName();
    
    /**
     * Get the value as an escaped String
     *
     * @return the value as an escaped String
     */
    String getEscapedString();

 
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy