de.deepamehta.core
Interface ChildTopics

Show UML class diagram
All Superinterfaces:
Iterable<String>
All Known Implementing Classes:
AttachedChildTopics

public interface ChildTopics
extends Iterable<String>


Method Summary
 ChildTopics add(String childTypeUri, ChildTopicsModel value)
           
 ChildTopics add(String childTypeUri, Object value)
           
 ChildTopics add(String childTypeUri, TopicModel value)
           
 ChildTopics addDeletionRef(String childTypeUri, long refTopicId)
           
 ChildTopics addDeletionRef(String childTypeUri, String refTopicUri)
           
 ChildTopics addRef(String childTypeUri, long refTopicId)
           
 ChildTopics addRef(String childTypeUri, long refTopicId, ChildTopicsModel relatingAssocChildTopics)
           
 ChildTopics addRef(String childTypeUri, String refTopicUri)
           
 ChildTopics addRef(String childTypeUri, String refTopicUri, ChildTopicsModel relatingAssocChildTopics)
           
 Object get(String childTypeUri)
           
 boolean getBoolean(String childTypeUri)
          Convenience accessor for the *simple* value of a single-valued child.
 ChildTopics getChildTopics(String childTypeUri)
          Convenience accessor for the *composite* value of a single-valued child.
 double getDouble(String childTypeUri)
          Convenience accessor for the *simple* value of a single-valued child.
 int getInt(String childTypeUri)
          Convenience accessor for the *simple* value of a single-valued child.
 long getLong(String childTypeUri)
          Convenience accessor for the *simple* value of a single-valued child.
 ChildTopicsModel getModel()
           
 Object getObject(String childTypeUri)
          Convenience accessor for the *simple* value of a single-valued child.
 String getString(String childTypeUri)
          Convenience accessor for the *simple* value of a single-valued child.
 RelatedTopic getTopic(String childTypeUri)
          Accesses a single-valued child.
 List<RelatedTopic> getTopics(String childTypeUri)
          Accesses a multiple-valued child.
 boolean has(String childTypeUri)
           
 ChildTopics set(String childTypeUri, ChildTopicsModel value)
          Convenience method to set the composite value of a child.
 ChildTopics set(String childTypeUri, Object value)
          Convenience method to set the simple value of a child.
 ChildTopics set(String childTypeUri, TopicModel value)
          Sets a child.
 ChildTopics setDeletionRef(String childTypeUri, long refTopicId)
           
 ChildTopics setDeletionRef(String childTypeUri, String refTopicUri)
           
 ChildTopics setRef(String childTypeUri, long refTopicId)
           
 ChildTopics setRef(String childTypeUri, long refTopicId, ChildTopicsModel relatingAssocChildTopics)
           
 ChildTopics setRef(String childTypeUri, String refTopicUri)
           
 ChildTopics setRef(String childTypeUri, String refTopicUri, ChildTopicsModel relatingAssocChildTopics)
           
 int size()
           
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getTopic

RelatedTopic getTopic(String childTypeUri)
Accesses a single-valued child. Throws if there is no such child.


getTopics

List<RelatedTopic> getTopics(String childTypeUri)
Accesses a multiple-valued child. Throws if there is no such child.


get

Object get(String childTypeUri)

has

boolean has(String childTypeUri)

size

int size()

getModel

ChildTopicsModel getModel()

getString

String getString(String childTypeUri)
Convenience accessor for the *simple* value of a single-valued child. Throws if the child doesn't exist.


getInt

int getInt(String childTypeUri)
Convenience accessor for the *simple* value of a single-valued child. Throws if the child doesn't exist.


getLong

long getLong(String childTypeUri)
Convenience accessor for the *simple* value of a single-valued child. Throws if the child doesn't exist.


getDouble

double getDouble(String childTypeUri)
Convenience accessor for the *simple* value of a single-valued child. Throws if the child doesn't exist.


getBoolean

boolean getBoolean(String childTypeUri)
Convenience accessor for the *simple* value of a single-valued child. Throws if the child doesn't exist.


getObject

Object getObject(String childTypeUri)
Convenience accessor for the *simple* value of a single-valued child. Throws if the child doesn't exist.


getChildTopics

ChildTopics getChildTopics(String childTypeUri)
Convenience accessor for the *composite* value of a single-valued child. Throws if the child doesn't exist.


set

ChildTopics set(String childTypeUri,
                TopicModel value)
Sets a child.


set

ChildTopics set(String childTypeUri,
                Object value)
Convenience method to set the simple value of a child.

Parameters:
value - The simple value. Either String, Integer, Long, Double, or Boolean. Primitive values are auto-boxed.

set

ChildTopics set(String childTypeUri,
                ChildTopicsModel value)
Convenience method to set the composite value of a child.


setRef

ChildTopics setRef(String childTypeUri,
                   long refTopicId)

setRef

ChildTopics setRef(String childTypeUri,
                   long refTopicId,
                   ChildTopicsModel relatingAssocChildTopics)

setRef

ChildTopics setRef(String childTypeUri,
                   String refTopicUri)

setRef

ChildTopics setRef(String childTypeUri,
                   String refTopicUri,
                   ChildTopicsModel relatingAssocChildTopics)

setDeletionRef

ChildTopics setDeletionRef(String childTypeUri,
                           long refTopicId)

setDeletionRef

ChildTopics setDeletionRef(String childTypeUri,
                           String refTopicUri)

add

ChildTopics add(String childTypeUri,
                TopicModel value)

add

ChildTopics add(String childTypeUri,
                Object value)

add

ChildTopics add(String childTypeUri,
                ChildTopicsModel value)

addRef

ChildTopics addRef(String childTypeUri,
                   long refTopicId)

addRef

ChildTopics addRef(String childTypeUri,
                   long refTopicId,
                   ChildTopicsModel relatingAssocChildTopics)

addRef

ChildTopics addRef(String childTypeUri,
                   String refTopicUri)

addRef

ChildTopics addRef(String childTypeUri,
                   String refTopicUri,
                   ChildTopicsModel relatingAssocChildTopics)

addDeletionRef

ChildTopics addDeletionRef(String childTypeUri,
                           long refTopicId)

addDeletionRef

ChildTopics addDeletionRef(String childTypeUri,
                           String refTopicUri)


Copyright © 2015. All Rights Reserved.