container/activities/src/main/java/org/mobicents/slee/runtime/activity/ActivityContextCacheData.java
public boolean attachSbbEntity(SbbEntityID sbbEntityId) {
		final Node node = getAttachedSbbsNode(true);
		if (!node.hasChild(sbbEntityId)) {
			node.addChild(Fqn.fromElements(sbbEntityId));
			return true;
		} else {
			return false;
		}
	}
public boolean attachSbbEntity(SbbEntityID sbbEntityId) {
		final Node node = getAttachedSbbsNode(true);
		if (!node.hasChild(sbbEntityId)) {
			node.addChild(Fqn.fromElements(sbbEntityId));
			return true;
		} else {
			return false;
		}
	}
public boolean attachSbbEntity ( SbbEntityID sbbEntityId ) { final Node node = getAttachedSbbsNode ( true ) ; if ( ! node . hasChild ( sbbEntityId ) ) { node . addChild ( Fqn . fromElements ( sbbEntityId ) ) ; return true ; } else { return false ; } }
Tries to attaches an sbb entity

@param sbbEntityId
@return true if it was attached, false if already was attached
Tries to attaches an sbb entity