org.cloudgraph.test.socialgraph.actor.Photo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudgraph-test Show documentation
Show all versions of cloudgraph-test Show documentation
CloudGraph(tm) is a suite of Service Data Object (SDO) 2.1 services designed for relational and big-table style "cloud" databases, such as HBase and others.
package org.cloudgraph.test.socialgraph.actor;
import org.cloudgraph.test.socialgraph.actor.Actor;
import org.cloudgraph.test.socialgraph.actor.Media;
import org.cloudgraph.test.socialgraph.actor.Node;
/**
* Generated interface representing the domain model entity Photo. This SDO interface directly reflects the
* class (single or multiple) inheritance lattice of the source domain model(s) and is part of namespace http://cloudgraph.org/test/socialgraph/actor defined within the Configuration.
*
*
* Data Store Mapping:
* Corresponds to the physical data store entity PT.
*
*
* @see org.cloudgraph.test.socialgraph.actor.Actor Actor
* @see org.cloudgraph.test.socialgraph.actor.Media Media
* @see org.cloudgraph.test.socialgraph.actor.Node Node
*/
public interface Photo extends Media
{
/** The SDO namespace URI associated with the Type for this class. */
public static final String NAMESPACE_URI = "http://cloudgraph.org/test/socialgraph/actor";
/** The entity or Type logical name associated with this class. */
public static final String TYPE_NAME_PHOTO = "Photo";
/**
* Represents the logical Property content which is part of the Type Photo.
*
*
* Data Store Mapping:
* Corresponds to the physical data store element PT.CNT.
*/
public static final String CONTENT = "content";
/**
* Represents the logical Property actor which is part of the Type Photo.
*
*
* Data Store Mapping:
* Corresponds to the physical data store element PT.A.
*/
public static final String ACTOR = "actor";
/**
* Returns true if the content property is set.
* @return true if the content property is set.
*/
public boolean isSetContent();
/**
* Unsets the content property, the value
* of the property of the object being set to the property's
* default value. The property will no longer be
* considered set.
*/
public void unsetContent();
/**
* Returns the value of the content property.
* @return the value of the content property.
*/
public byte[] getContent();
/**
* Sets the value of the content property to the given value.
*/
public void setContent(byte[] value);
/**
* Returns true if the actor property is set.
* @return true if the actor property is set.
*/
public boolean isSetActor();
/**
* Unsets the actor property, clearing the underlying collection. The property will no longer be
* considered set.
*/
public void unsetActor();
/**
* Creates and returns a new instance of Type {@link Actor} automatically establishing a containment relationship through the object's reference property, actor.
* @return a new instance of Type {@link Actor} automatically establishing a containment relationship through the object's reference property actor.
*/
public Actor createActor();
/**
* Returns an array of Actor set for the object's multi-valued property actor.
* @return an array of Actor set for the object's multi-valued property actor.
*/
public Actor[] getActor();
/**
* Returns the Actor set for the object's multi-valued property actor based on the given index.
* @param idx the index
* @return the Actor set for the object's multi-valued property actor based on the given index.
*/
public Actor getActor(int idx);
/**
* Returns a count for multi-valued property actor.
* @return a count for multi-valued property actor.
*/
public int getActorCount();
/**
* Sets the given array of Type Actor for the object's multi-valued property actor.
* @param value the array value
*/
public void setActor(Actor[] value);
/**
* Adds the given value of Type Actor for the object's multi-valued property actor.
* @param value the value to add
*/
public void addActor(Actor value);
/**
* Removes the given value of Type Actor for the object's multi-valued property actor.
* @param value the value to remove
*/
public void removeActor(Actor value);
}