class: Model

public class: Model
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 2050 $ $LastChangedDate: 2009-06-03 12:; Complexity: 1
Dates: Created: 16.07.2009 15:15:57; Modified: 16.07.2009 15:15:57;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {BF6EE918-5872-4af1-9D06-DB1BAB8078AA}
A bean holding data of a CoNE service.
 

Goto: Custom Properties, Fields, Methods

See also: ServiceListHandler

Appears in: cone

Connections
 
Custom Properties
 
Model Attributes
Attribute Details
private ArrayList
  aliases
Initial: new ArrayList()
private boolean
  controlled
private String
  description
private boolean
  generateIdentifier
private boolean
  globalMatches
private boolean
  globalResultPattern
private String
  identifier
private String
  identifierPrefix
private boolean
  localizedMatches
private boolean
  localizedResultPattern
private String
  name
private ArrayList
  predicates
Initial: new ArrayList()
private ArrayList
  resultPattern
Initial: new ArrayList()
private String
  subjectPrefix
 
Model Methods
Operation Details
public
equals(
   Object object):boolean
Sequential
Tags: annotations=@Override
Notes: Compares to other objects.
@return true, if the other object is a {@link Model} with the same name.
public
getAliases():List
Sequential
public
getDescription():String
Sequential
public
getIdentifier():String
Sequential
public
getIdentifierPrefix():String
Sequential
public
getName():String
Sequential
public
getPredicate(
   String predicateId):Predicate
Sequential
Notes: Find a predicate by id.
@link NullPointerException} is thrown.
@return null if there is no predicate with the given id, the according predicate otherwise.
public
getPredicates():List
Sequential
public
getResultPattern():List
Sequential
public
getSubjectPrefix():String
Sequential
public
hashCode():int
Sequential
Tags: annotations=@Override
Notes: Returns the hashCode of the service name. This is needed for using {@link HashSet}s correctly.
@return The hashCode
public
isControlled():boolean
Sequential
public
isGenerateIdentifier():boolean
Sequential
public
isGlobalMatches():boolean
Sequential
public
isGlobalResultPattern():boolean
Sequential
public
isLocalizedMatches():boolean
Sequential
public
isLocalizedResultPattern():boolean
Sequential
public
Model():
Sequential
Notes: Default constructor.
public
Model(
   String name):
Sequential
Notes: Constructor by name.
public
Model(
   String name,
   String description):
Sequential
Notes: Constructor by name and description.
public
Model(
   String name,
   String description,
   List aliases):
Sequential
Notes: Constructor by name, description and aliases.
@link List} of aliases.
public
Model(
   String name,
   String description,
   List aliases,
   List predicates):
Sequential
Notes: Constructor by name, description and aliases.
@link List} of aliases
@link List} of allowed predicates
public
setAliases(
   List aliases):void
Sequential
public
setControlled(
   boolean controlled):void
Sequential
public
setDescription(
   String description):void
Sequential
public
setGenerateIdentifier(
   boolean generateIdentifier):void
Sequential
public
setGlobalMatches(
   boolean globalMatches):void
Sequential
public
setGlobalResultPattern(
   boolean globalResultPattern):void
Sequential
public
setIdentifier(
   String identifier):void
Sequential
public
setIdentifierPrefix(
   String identifierPrefix):void
Sequential
public
setLocalizedMatches(
   boolean localizedMatches):void
Sequential
public
setLocalizedResultPattern(
   boolean localizedResultPattern):void
Sequential
public
setName(
   String name):void
Sequential
public
setPredicates(
   List predicates):void
Sequential
public
setResultPattern(
   List resultPattern):void
Sequential
public
setSubjectPrefix(
   String subjectPrefix):void
Sequential