edu.ucla.util
Class InOutDegreeProperty

Object
  extended by AbstractEnumProperty
      extended by InOutDegreeProperty
All Implemented Interfaces:
EnumProperty

public class InOutDegreeProperty
extends AbstractEnumProperty

Since:
20031009
Author:
keith cascio

Nested Class Summary
static class InOutDegreeProperty.InOutDegree
           
 
Field Summary
static InOutDegreeProperty.InOutDegree INTERNAL
           
static InOutDegreeProperty.InOutDegree LEAF
           
static EnumValue[] myArray
           
static List myList
           
static InOutDegreeProperty PROPERTY
           
static InOutDegreeProperty.InOutDegree ROOT
           
static InOutDegreeProperty.InOutDegree UNDEFINED
           
 
Method Summary
 boolean contains(EnumValue val)
           
 EnumValue forIndex(int index)
           
 EnumValue forString(String str)
           
 EnumValue getDefault()
           
 String getID()
           
 String getName()
           
 int indexOf(EnumValue value)
           
 boolean isTransient()
           
 boolean isUserEditable()
           
 Iterator iterator()
           
static void setAllValues(Collection vars, BeliefNetwork bn)
           
static void setValue(Variable var, BeliefNetwork bn)
           
 int size()
           
 boolean toBoolean(EnumValue value)
           
static InOutDegreeProperty.InOutDegree valueFor(Variable var, BeliefNetwork bn)
           
 EnumValue valueOf(boolean flag)
           
 EnumValue[] valuesAsArray()
           
 
Methods inherited from class AbstractEnumProperty
isFlag, isModified, rotate, toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY

public static final InOutDegreeProperty PROPERTY

ROOT

public static final InOutDegreeProperty.InOutDegree ROOT

INTERNAL

public static final InOutDegreeProperty.InOutDegree INTERNAL

LEAF

public static final InOutDegreeProperty.InOutDegree LEAF

UNDEFINED

public static final InOutDegreeProperty.InOutDegree UNDEFINED

myArray

public static final EnumValue[] myArray

myList

public static final List myList
Method Detail

getName

public String getName()

getDefault

public EnumValue getDefault()

getID

public String getID()

isUserEditable

public boolean isUserEditable()
Specified by:
isUserEditable in interface EnumProperty
Overrides:
isUserEditable in class AbstractEnumProperty

isTransient

public boolean isTransient()
Specified by:
isTransient in interface EnumProperty
Overrides:
isTransient in class AbstractEnumProperty

contains

public boolean contains(EnumValue val)

forString

public EnumValue forString(String str)

iterator

public Iterator iterator()

valuesAsArray

public EnumValue[] valuesAsArray()

size

public int size()

toBoolean

public boolean toBoolean(EnumValue value)
Specified by:
toBoolean in interface EnumProperty
Overrides:
toBoolean in class AbstractEnumProperty

valueOf

public EnumValue valueOf(boolean flag)

valueFor

public static InOutDegreeProperty.InOutDegree valueFor(Variable var,
                                                       BeliefNetwork bn)

setValue

public static void setValue(Variable var,
                            BeliefNetwork bn)

setAllValues

public static void setAllValues(Collection vars,
                                BeliefNetwork bn)

indexOf

public int indexOf(EnumValue value)
Since:
20050823

forIndex

public EnumValue forIndex(int index)
Since:
20050823


Copyright 2010 UCLA Automated Reasoning Group