com.arjuna.mw.wsas.common.GlobalId Maven / Gradle / Ivy
The newest version!
/*
Copyright The Narayana Authors
SPDX-License-Identifier: Apache-2.0
*/
package com.arjuna.mw.wsas.common;
/**
* Implementations of this interface provide globally unique identifications
* for activities.
*
* @author Mark Little ([email protected])
* @version $Id: GlobalId.java,v 1.1 2002/11/25 10:51:41 nmcl Exp $
* @since 1.0.
*/
public interface GlobalId
{
/**
* Two instances are identical if their targets are the same.
*/
public boolean equals (Object obj);
/**
* @return the byte stream representing this instance.
*/
public byte[] value ();
/**
* @return true
if this instance is valid, false
* otherwise.
*/
public boolean valid ();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy