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

com.activitystream.core.model.interfaces.AspectInterface Maven / Gradle / Ivy

Go to download

AS-SDK is a java library to allow easy interoperability with Activity Stream.

There is a newer version: 0.1.25
Show newest version
package com.activitystream.core.model.interfaces;

import com.activitystream.core.model.aspects.AspectType;
import com.activitystream.core.model.entities.EntityReference;

import java.util.Collection;

public interface AspectInterface extends EmbeddedStreamElement {

    void loadFromValue(Object value);

    //void loadFromElement(SavableElement element, List> path, StreamItemAccessPolicy accessPolicy);

    default void visited(Collection visited) {}

    void mergeAspect(AspectInterface aspect);

    AspectType getAspectType();

    void markAsAutoGenerated();

    boolean isAutoGenerated();

    boolean isEmpty();

    default boolean isInherited() {
        return false;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy